You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling isActive() on the useSelections api after clearing selections in the toolbar, it returns true. This works if I run the same chart in sense.
Steps to Reproduce
Make selections in some chart
Clear using the toolbar
Call isActive -> returns true
Expected behavior
Should always return false when no active selections, as in sense.
Actual behavior
Returns true even though selections are cleared and canceled
Versions
nebula.js: 1.1.0
Platform: osx
Browser: chrome
Additional context
Illustrated in the gif: When you press a cell, isActive is called. The first time when no selections are made, it returns false. The second time it is still true.
The text was updated successfully, but these errors were encountered:
The useObjectSelections object can't currently listen to the modal state change so it can't set its internal isActive property. isModal is a better check but is currently unavailable in the client. We'll look at sorting this out, but in the meantime we can avoid relying on these specifically.
🐛 Bug report
When calling isActive() on the useSelections api after clearing selections in the toolbar, it returns true. This works if I run the same chart in sense.
Steps to Reproduce
Expected behavior
Should always return false when no active selections, as in sense.
Actual behavior
Returns true even though selections are cleared and canceled
Versions
Additional context
Illustrated in the gif: When you press a cell, isActive is called. The first time when no selections are made, it returns false. The second time it is still true.
The text was updated successfully, but these errors were encountered: