dosubot[bot] commented on issue #35280:
URL: https://github.com/apache/superset/issues/35280#issuecomment-3332353289

   <!-- Answer -->
   This display issue is likely caused by the stacking context (z-index) of the 
time range window (popover or modal) relative to the filter modal. The filter 
modal uses Ant Design's Modal component, which defaults to a z-index around 
1000–1001. The time range editing UI can render as either a popover or a modal: 
when rendered as a modal, it sets zIndex=1030, which should place it above the 
filter modal; when rendered as a popover, it attaches to document.body by 
default, but if not, its stacking can be affected by the parent modal and may 
appear underneath it. 
   
   If you are seeing the time range window hidden behind the filter modal, 
check whether the time range editor is rendering as a popover and whether its 
container is set to document.body. If not, or if the z-index is too low, this 
can cause the issue you described. Ensuring the time range window always 
renders to document.body and/or increasing its z-index should resolve the 
problem. The relevant code is in `DateFilterLabel.tsx` for the time range 
window and `FiltersConfigModal.tsx` for the filter modal. See more details in 
the code here:  
   
[DateFilterLabel.tsx](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/explore/components/controls/DateFilterControl/DateFilterLabel.tsx)
  
   
[FiltersConfigModal.tsx](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigModal.tsx)
  
   
   No recent changes or documentation directly address this, but adjusting the 
z-index or ensuring the popover/modal attaches to the correct container should 
fix the stacking issue.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/a280b277-9dc1-459e-a05d-4dd229ac2f8d?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/a280b277-9dc1-459e-a05d-4dd229ac2f8d?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/a280b277-9dc1-459e-a05d-4dd229ac2f8d?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/a280b277-9dc1-459e-a05d-4dd229ac2f8d?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/a280b277-9dc1-459e-a05d-4dd229ac2f8d?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/a280b277-9dc1-459e-a05d-4dd229ac2f8d?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/a280b277-9dc1-459e-a05d-4dd229ac2f8d?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35280)


-- 
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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to