Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mootools <1.3 and Interacts.js Resizing #2731

Open
rizwanhussain-vteams opened this issue Aug 27, 2015 · 6 comments
Open

Mootools <1.3 and Interacts.js Resizing #2731

rizwanhussain-vteams opened this issue Aug 27, 2015 · 6 comments

Comments

@rizwanhussain-vteams
Copy link

rizwanhussain-vteams commented Aug 27, 2015

The resizing is not working when used with Mootools <1.3. Here is a fiddle with the demo : http://jsfiddle.net/2vkw52bk

It seems to work fine with mootools 1.3+ .

I am finding it hard to debug since there are no errors.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@SergioCrisostomo
Copy link
Member

@rizwanhussain-vteams the resizing works good with <1.3. This problem is actually related with the new website and the fact that jsFiddle is pointing its 1.2.6 version to a url that is inactive.

So your fiddle workds good (http://jsfiddle.net/2vkw52bk/1/), and there is already a fix suggested for this just not merged yet. I was not aware myself jsFiddle was using this functionality. One more reason for us to get that link back working.

I close this now, please reopen if your issue is not solved by my jsFiddle.

@rizwanhussain-vteams
Copy link
Author

@SergioCrisostomo I was having this problem in Joomla 1.x which uses Mootools 1.12 and in there the mootools script was added in the head tag which is why i tried to replicate the same scenario in the fiddle as well. Also, 1.2.x was the lowest version available in jsfiddle.
Anyways, i have created another fiddle demonstrating the issue in a better way : http://jsfiddle.net/b4beaoda/
I have added the mootools script inline as you did and as you can see the script is the same version as well i.e. 1.12 which is causing problem on actual website.
I hope this information helps :)

@rizwanhussain-vteams
Copy link
Author

@SergioCrisostomo Let's re-open this thread. I have already posted at interactjs and they say its a mootools issue.

@SergioCrisostomo
Copy link
Member

@rizwanhussain-vteams your new fiddle (http://jsfiddle.net/b4beaoda/) works for me in Chrome. Can you explain what should the behavior be and what is broken?

@rizwanhussain-vteams
Copy link
Author

@SergioCrisostomo Sorry mate. Wrong link : Here you go http://jsfiddle.net/b4beaoda/1/

@SergioCrisostomo
Copy link
Member

@rizwanhussain-vteams I'm not so familiar with that generation MooTools. I noticed that there appears to be a conflict in window.Element. Please check this version: http://jsfiddle.net/7kz4dnxu/

This patch might ofcourse break other MooTools code but might point you in the right direction. Maybe someone else can give more feedback or patch for this old version of MooTools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants