[TW5] Little strange bug in all TW5

72 views
Skip to first unread message

sini-Kit

unread,
Jan 15, 2017, 1:43:10 PM1/15/17
to TiddlyWiki
Hi! I found a little bug in TW5 in IE and some other browsers and not able to fix it myself. If I make fixed blocks (position:fixed:) they work good, but when I open window with tm-modal and scroll it, fixed blocks start jumping. You can test it your self open http://tiddlywiki.com/#Modals:Modals%20SampleModal%20HelloThere%20GettingStarted%20Community and add this fixed block code to any opened tiddler.

<div style="background-color: red; width:100px; height:100px; position:fixed; top:0px; left:0px; z-index:9999;" > I am jumping!</div>

 confirm changes and press button "Open demo modal" after modal open, try mouse scroll. You will see, that our red block is jumping while scrolling.
Sometimes this effect  continua after  tm-modal was closed.

There is no this effect in Google chrome, but I see it on mobile browsers.  


Mat

unread,
Jan 15, 2017, 3:02:38 PM1/15/17
to TiddlyWiki
Confirmed issue in IE. No problem in FF or Chrome.

Note: No extra block is needed to see the problem. Even the sidebar behaves in the jerky fashion when scrolling. I recalled there was some mention of modal improvements recently so tried in the prerelease but same problem: http://tiddlywiki.com/prerelease/#Modals:Modals%20SampleModal%20HelloThere%20GettingStarted%20Community

I'm not sure one is supposed to be able to scroll at all when modal is showing.

<:-)

sini-Kit

unread,
Jan 15, 2017, 4:16:52 PM1/15/17
to TiddlyWiki
I found! IE don't like fixed flocks into fixed blocks. If we make inner block with absolute position nothing jump. Here is my demo http://heeg.ru/test/heeg_posuda.html#B29 click on picture and scroll, top fixed menu will not jump. And here is old variant http://heeg.ru/test/heeg_4_1.html#10013

воскресенье, 15 января 2017 г., 23:02:38 UTC+3 пользователь Mat написал:
Reply all
Reply to author
Forward
0 new messages