michael-s-molina commented on a change in pull request #14106:
URL: https://github.com/apache/superset/pull/14106#discussion_r620238922



##########
File path: superset-frontend/src/explore/components/controls/VizTypeControl.jsx
##########
@@ -119,7 +120,7 @@ const VizTypeControl = props => {
 
   useEffect(() => {
     if (showModal) {
-      searchRef?.current?.focus();
+      setTimeout(() => searchRef?.current?.focus(), 200);

Review comment:
       https://github.com/vazco/uniforms/issues/279
   The 200 is a common value found in other places of the application for 
rendering purposes.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to