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

Develop 386 element position offset 1.3 #74

Closed
wants to merge 1 commit into from
Closed

Develop 386 element position offset 1.3 #74

wants to merge 1 commit into from

Conversation

fat
Copy link
Contributor

@fat fat commented Sep 24, 2010

lighthouse-386, Element.position is not working correctly when the window is scrolled
https://mootools.lighthouseapp.com/projects/24057/tickets/386-elementposition-is-not-working-correctly-when-the-window-is-scrolled#ticket-386-1

  • adds test from ticket for hugely offset document
  • reverts change to Element.Position which adds scroll offset again to
    calculated position

…ndow is scrolled

https://mootools.lighthouseapp.com/projects/24057/tickets/386-elementposition-is-not-working-correctly-when-the-window-is-scrolled#ticket-386-1

- adds test from ticket for hugely offset document
- reverts change to Element.Position which adds scroll offset again to
  calculated position
@anutron
Copy link
Member

anutron commented Sep 24, 2010

I'll let the other guys chime in on this as it's a 1.3 issue.

@arian
Copy link
Member

arian commented Sep 25, 2010

What's the difference between 1.2 and 1.3? As far as I know we didn't refactored Element.Postion... Maybe run the test against 1.2 as well?

@arian
Copy link
Member

arian commented Sep 25, 2010

Ok, I updated the jsfiddle and it doesn't seem to work in 1.3... http://jsfiddle.net/TYTUy/3/

tbh I don't know much about Element.Position, but it looks ok to me..

@fat
Copy link
Contributor Author

fat commented Sep 25, 2010

yeah I tried looking through commits briefly to see why the else statement was added, but didn't find it... However if you do a quick comparison between 1.2 - 1.3 -- you'll see the difference

@arian
Copy link
Member

arian commented Sep 26, 2010

@jacob: I cannot see it though: http://pastie.org/1182254 or is it somewhere else?

Anyway, if its fixes the problem then it's ok of course :)

@timwienk
Copy link
Member

This pull request was closed.
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

Successfully merging this pull request may close these issues.

None yet

4 participants