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
Fixes ie issues in Hacker0x01#141 by eliminating infinite loop.
This commit does 2 specific things:
It makes date_input.jsx properly state-less, reducing complexity.
It also upgrades datepicker.jsx to prevent repeated calls clearing the state if it has already been cleared. IE would trigger an onChange every time we set its value to null, causing the clearSelection to bubble up, set state, set the value, and repeat ad nauseam. This also upgrades datepicker.jsx to follow best practices of using setState callbacks to prevent subtle timing bugs.
0 commit comments