EnxDev opened a new pull request, #43966: URL: https://github.com/apache/superset/pull/43966
### SUMMARY When a dashboard has enough native filters to show the “More filters” overflow button, applying a cross-filter adds another item to `DropdownContainer` and causes the filter bar to be remeasured. During this measurement, the component temporarily renders all items in the visible row before calculating the new overflow state and collapsing them again. Normally, both updates finish within the same React commit, before the browser paints. In Microsoft Edge, the browser can sometimes paint the intermediate state. This allows the row to grow beyond its available width, pushing the native filters and the “More filters” button out of view. Once this happens, the filters remain inaccessible until the cross-filter is cleared. This change keeps the filter row clamped to its last known width and hides any overflowing content while the component remeasures. If Edge paints the intermediate state, the row remains within the filter bar and the “More filters” button stays accessible. Related: PPR-1291, PCS-9653. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF N/A — this is a timing-dependent rendering issue specific to Microsoft Edge. See the testing instructions below. ### TESTING INSTRUCTIONS 1. In Microsoft Edge, open a dashboard with enough value-type native filters to show the “More filters” button. 2. Add a table chart and enable cross-filtering. 3. Click a value in the table to apply a cross-filter. 4. Confirm that the native filters and the “More filters” button remain visible and accessible. 5. In Chrome and Firefox, confirm that the filter bar still collapses and expands correctly when filters are added or removed and when the window is resized. ### ADDITIONAL INFORMATION * [ ] Has associated issue: PPR-1291 / PCS-9653 * [ ] Required feature flags: * [x] Changes UI * [ ] Includes DB Migration * [ ] Introduces new feature or API * [ ] Removes existing feature or API -- 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]
