Skip to content
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

Throttle/debounce view status toast messages #7505

Open
wilmaier opened this issue Dec 19, 2024 · 1 comment
Open

Throttle/debounce view status toast messages #7505

wilmaier opened this issue Dec 19, 2024 · 1 comment
Assignees
Labels

Comments

@wilmaier
Copy link
Contributor

wilmaier commented Dec 19, 2024

Throttle/debounce "Maximum Window", "Minimum Window" and "Too close to target" view status toast messages

Describe the bug
While zooming in/out of viewport to extremes, we see a cascade of toast messages overwhelming the viewer.

To Reproduce

  1. Open any imodel in viewer
  2. Continuously scroll the mouse scroll wheel to zoom in/out inside the viewport
  3. Significant burst of toast messages appears

Expected behavior
Throttle duplicate toast messages that are generated in a short amount of time. If scrolling continues after a couple seconds, allow additional toast message but just prevent rapid fire repeat messages.

Screenshots
Image

Desktop (please complete the applicable information):

  • OS: Windows
  • Browser: chrome
  • iTwin.js Version 4.10.2
@wilmaier
Copy link
Contributor Author

Previously suggested in other issue:
#5822 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants