Kunal8954 opened a new pull request, #43978: URL: https://github.com/apache/superset/pull/43978
The Date Range filter's calendar popup was getting clipped at 100% browser zoom. Turned out that when the filter bar gets narrow enough, the Date Range filter gets pushed into the "More filters" overflow dropdown — and that dropdown caps its content at 500px height. The calendar was being mounted inside that dropdown instead of directly on document.body, so anything taller than 500px (which a calendar almost always is) got cut off. At 75%+ zoom the filter still fits in the bar, so it never enters the overflow dropdown, and the calendar mounts to document.body like normal — which is why it looked fine there. Fix is small: just always mount the calendar popup to document.body, regardless of whether the filter is overflowing or not. Matches how it already behaves in the non-overflow case. Tested by shrinking the filter bar so Date Range falls into overflow, opening it at 100% zoom, and confirming the full calendar renders without being clipped. Fixes #43897 -- 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]
