Side navigation
#14768 closed bug (wontfix)
Opened February 07, 2014 07:56AM UTC
Closed February 24, 2014 03:22PM UTC
Set wrong offset for display:none elements
Reported by: | maciekmp@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Setting offset for absolute display:none elements cause wrong offset after element is set to display:block.
Attachments (0)
Change History (3)
Changed February 07, 2014 08:01AM UTC by comment:1
Changed February 07, 2014 02:00PM UTC by comment:2
This is probably due to https://github.com/jquery/api.jquery.com/issues/197 and won't be fixed.
Changed February 24, 2014 03:22PM UTC by comment:3
resolution: | → wontfix |
---|---|
status: | new → closed |
This will be documented. In general it's very expensive to ask for the position or size of hidden elements and should be avoided anyway.
http://jsfiddle.net/b6U2U/3/ - after resizing window and click on red element offset of green one is wrong.