Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Conversation

@petski
Copy link

@petski petski commented Jun 27, 2017

In case element is not visible offset() will return top:0, left:0

Use case: <input type="radio" required> where the first radio-item is
"hidden" in a collapsable div.

If you don't like this change, I can make a feature like
$.fn.validator.Constructor.INPUT_SELECTOR, but then for focusError.

In case element is not visible offset() will return `top:0, left:0`

Use case: `<input type="radio" required>` where the first radio-item is
"hidden" in a collapsable div.

If you don't like this change, I can make a feature like
`$.fn.validator.Constructor.INPUT_SELECTOR`, but then for focusError.
@marten-seemann
Copy link
Contributor

I have the same problem. This PR is correct and should be merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants