overscroll icon indicating copy to clipboard operation
overscroll copied to clipboard

If the div has position:fixed then it's not respected

Open ibc opened this issue 12 years ago • 3 comments

If a div's css has position: fixed and bottom: 0px and later it's called with jQuery('#myFixedDiv').overscroll(); then it appears at the top of the page.

ibc avatar Mar 19 '13 16:03 ibc

can you post an example please, e.g. with JSbin?

On Mar 19, 2013, at 9:43 AM, Iñaki Baz Castillo [email protected] wrote:

If a div's css has position: fixed and bottom: 0px and later it's called with jQuery('#myFixedDiv').overscroll(); then it appears at the top of the page.

— Reply to this email directly or view it on GitHub.

azoff avatar Mar 19 '13 16:03 azoff

Yep, http://jsbin.com/alirup/2/edit

Go to the bottom and comment the overscroll() line to see the issue.

ibc avatar Mar 19 '13 17:03 ibc

Can not reproduce. What browser?

azoff avatar Feb 12 '14 10:02 azoff