trepmag opened a new issue, #32813:
URL: https://github.com/apache/superset/issues/32813

   ### Bug description
   
   Using `setControlValue()`allows to update the value of a control panel input 
which trigger also the refresh of the whole chart explorer inputs set including 
the Data table section.
   
   The issue reside in the fact that the filter input of the Data table section 
is taking the focus when setControlValue() which end in a UX behavior 
obstruction by the `shouldFocus` bit introduced in `FilterInput` component: see 
the following chunk:
   
https://github.com/apache/superset/blob/34b1db219cbe155a9cf57f7c9abb36492c482106/superset-frontend/src/explore/components/DataTablesPane/components/DataTableControls.tsx#L71
   
   
   ### Screenshots/recordings
   
   In the following screencast show that the focus is stolen by the filter 
input of Data table section while the user is trying to input another control 
which set to trigger on change.
   
   
https://github.com/user-attachments/assets/87857b64-2b5e-496f-a67e-2be5977b28e9
   
   ### Superset version
   
   4.1.1
   
   ### Python version
   
   3.10
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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.

To unsubscribe, e-mail: [email protected]

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