-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Calling updateOptions() causes scrolling to jump. #2621
Comments
Hi. I believe I have fix this in the attached branch. Please check out this StackBlitz |
I am still able to reproduce the issue very easily. On Firefox if you start clicking it multiple times in a row it still flashes. I also tested the same StackBlitz on Chrome and apparently it is even easier to reproduce there. Over all it might be marginally better, but it still doesn't look like the core issue is resolved. I tried also updated my app to the latest version to the same result. Still same flickering. |
@Eonasdan Should I open another issue that focuses on the flickering rather than the scrolling? |
No. I merged what I had and it auto closed. I'll try to keep improving this. |
Hi @MaxwellDAssistek I'm looking at this again. I see this still happens on the SB even with the latest, however locally, it's not an issue. Are you still experiencing this? |
@Eonasdan Very much so. We've done our best to make it less noticeable with min-height/min-width and/or loading screens, but its still definitely an issue for us. |
Thanks for letting me know. Can you try this stackblitz based on this branch |
* #2791 more tests * #2791 more tests * #2791 more tests * #2757 should fix start of the week (#2818) * Add type attribute to meridiem button (#2822) Resolves #2820 * repl improvements * repl improvements * Fix typo in Finnish locale (fi.ts) (#2824) Renamed Edelline -> Edellinen * #2575 open on focus (#2832) * #2575 open on focus * Add type attribute to meridiem button (#2822) Resolves #2820 * repl improvements * repl improvements * Fix typo in Finnish locale (fi.ts) (#2824) Renamed Edelline -> Edellinen * repl improvements * repl improvements * repl improvements * repl improvements --------- Co-authored-by: axunonb <[email protected]> Co-authored-by: Pertti Roitto <[email protected]> * #2621 potential fix (#2833) --------- Co-authored-by: axunonb <[email protected]> Co-authored-by: Pertti Roitto <[email protected]>
* #2791 more tests * #2791 more tests * #2791 more tests * #2757 should fix start of the week (#2818) * Add type attribute to meridiem button (#2822) Resolves #2820 * repl improvements * repl improvements * Fix typo in Finnish locale (fi.ts) (#2824) Renamed Edelline -> Edellinen * #2575 open on focus (#2832) * #2575 open on focus * Add type attribute to meridiem button (#2822) Resolves #2820 * repl improvements * repl improvements * Fix typo in Finnish locale (fi.ts) (#2824) Renamed Edelline -> Edellinen * repl improvements * repl improvements * repl improvements * repl improvements --------- Co-authored-by: axunonb <[email protected]> Co-authored-by: Pertti Roitto <[email protected]> * #2621 potential fix (#2833) --------- Co-authored-by: axunonb <[email protected]> Co-authored-by: Pertti Roitto <[email protected]>
This has been released |
Prerequisites
Describe the issue
Calling updateOptions() on a datetimepicker that is at the bottom of a scrollable div causes the scroll to jump due to the datetime picker being recreated.
StackBlitz fork
https://stackblitz.com/edit/tempus-dominus-v6-simple-setup-v78952?file=index.js
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Firefox
What version of are you using? You can find this information from the sample StackBlitz.
6.0.0-beta9
What your browser's locale? You can find this information from the sample StackBlitz.
en-US
The text was updated successfully, but these errors were encountered: