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
Once the FormDateTimeInput component mounts, it starts listening for all click events. This is to close the time selector popup when a user clicks outside. But this also listens for click events even when the time selector is hidden. This seems bad for performance.
The component should only listen for click events while the time selector is visible/mounted. The solution is to move the click event listening code down to the time selector popup.
The text was updated successfully, but these errors were encountered:
Once the
FormDateTimeInput
component mounts, it starts listening for all click events. This is to close the time selector popup when a user clicks outside. But this also listens for click events even when the time selector is hidden. This seems bad for performance.The component should only listen for click events while the time selector is visible/mounted. The solution is to move the click event listening code down to the time selector popup.
The text was updated successfully, but these errors were encountered: