You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as the docs state, radix themes provide their own Theme context provider so portaled elements would get the DEFUALT radix CSS styles and vars. The issue is what if we provide our own theme provider styles and CSS vars override? the inner Theme radix themes provide would override our styles.
why not try to useContext of the nearby Theme, and provide a ref to this dom element as the container? or alternatively, provide a mechanism that respect a inner custom ThemeProvider for portaled element?