Closed nul800sebastiaan closed 5 years ago
Is that logical behavior? What happens if you are at the bottom of one tab and click another? Should it scroll to top?
Is that logical behavior?
Yes. 😁 (also see discussion here: https://our.umbraco.com/forum/umbraco-8/93641-discussion-about-tabs#comment-309447)
What happens if you are at the bottom of one tab and click another? Should it scroll to top?
Correct. :-)
Lol, I missed that discussion.
Ok, I've looked in to this.
There are 2 options:
Solve issue in Css pro's: No extra javascript needed. cons: Not supported in IE but fails gracefully (works as it works now)
Solve with javascript pro's: Works in all browsers cons: We need add some jquery or a lot of javascript since:
My personal preference would be option 1 since it's the most reliable solution and IE shouldn't be used as a browser anyway.
Opinions?
Definitely don't need IE support IMO, v8 doesn't even officially support it 😊
Fixed in https://github.com/nul800sebastiaan/Cultiv.Tabify/issues/7
v1.0.3 will be up on Our in a few minutes!
So they don't disappear when you scroll