New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigating away while transitioning sets incorrect scroll position #13
Comments
Hey @MartinMuzatko could you please test if it is fixed now? |
Is it already deployed to the website? Then it is not working yet :) |
It is deployed. yes please and maybe try to debug this section :) |
@kamranahmedse @MartinMuzatko I think this is happening because we are choosing (please check here) postion to scroll as middle on the basis of I'll try to fix this. Any inputs from your side ? P.S |
@kamranahmedse @MartinMuzatko I'm extremely sorry, all the things I talked above were my misunderstandings, Actual problem is ** popoverElement.bringInView(); is never bringing popover in the view** I did little a small change for debugging,
every time when popover was not in view, |
@kamranahmedse @MartinMuzatko surprisingly adding following code fixed it, though this is not a good way to fix it.
|
Fixed in 62c2a38. Should be fine now. |
@kamranahmedse I'm sorry but that still leaves bug present in here |
@moghya no, there is not. The issue was related to the scroll, previously we had smooth scroll so it did not immediately scroll to the highlighted element; and if user switches the active element during the scroll, the next scroll was ignored because of the previous scroll being in progress. I just changed it to be The one that you are referring to, it is already instant and has no issues. |
When navigating away from a popup (using the arrow keys) in the middle of an animation to scroll to the visible popup, there is no other scroll event happening to get the correct focus.
The text was updated successfully, but these errors were encountered: