react-spectrum
2487c50a - Prevent unexpected column resizer input blur when focused via dropdown menu (#4876)

Commit
2 years ago
Prevent unexpected column resizer input blur when focused via dropdown menu (#4876) * Fix resize input focus issue when triggering resize from dropdown menu in Android Chome due to https://github.com/adobe/react-spectrum/issues/1513, Android Chrome would cause a premature focus shift from the resizer input to the body/whatever element was underneath the "resize column" menu option, causing resizing to end early and canceling the 2nd delayed focusInput call. We delay the first focusInput call now so that it happens after the browser delayed click on touch end * clear timeout if it column somehow unmounts before it also reconfirmed that we still need the 400ms timeout for VO iOS
Author
Parents
Loading