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

Positioning #2

Open
closer9 opened this issue Feb 18, 2010 · 1 comment
Open

Positioning #2

closer9 opened this issue Feb 18, 2010 · 1 comment

Comments

@closer9
Copy link

closer9 commented Feb 18, 2010

When trying to use date_input inside of an already repositioned div, the calendar would not place itself in the correct position relative to the input field.

I don't know if this is the correct place to post this, but I fixed the problem by changing:
setPosition: function() {
var offset = this.input.offset();

to:
setPosition: function() {
var offset = this.input.position();

This fixed the problem with repositioned DIVs and does not seem to break it if the call is from a non-repositioned DIV.

@vesan
Copy link

vesan commented May 12, 2011

I fixed the problem and related closing problem and created a pull request: #7

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