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

Not well positionned when input is in a hidden div #13

Open
GoogleCodeExporter opened this issue Apr 24, 2015 · 0 comments
Open

Not well positionned when input is in a hidden div #13

GoogleCodeExporter opened this issue Apr 24, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. create a div with style="display:hidden" positionned in the middle of
the screen and add it a DatePicker plugin
2. make the div appear (display:block)
3. the datepicker frame will appear on top left corner instead of under the
input itself

What is the expected output? What do you see instead?
i expect the datepicker to appear tight under the input

What version of the product are you using? On what operating system?
last .js found on this webiste (in Source). I'm working on FF 3.5.x

Please provide any additional information below.
I fixed it. Change cumulativeOffset to viewportOffset on line 584 and 623
and also remove !this._isPositionned on line 621 since you can't change it
during initialisation (missing code during constructor)

works fine now for me.

Original issue reported on code.google.com by [email protected] on 25 Nov 2009 at 4:36

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

No branches or pull requests

1 participant