For Perspective is there a good way to have a popup open directly under a component and match its width? (similar to how the datetime picker works) i can get it on a fixed style coordinate container but the view i need it on is a percent style coordinate container. i think all i would need is the size of the view then i can multiple by the position props, but that is proving hard to find.
Use a flex container set to column direction and put both of the components in it. Then, have the “popup” component’s meta.display set to False and set it to True when you want it to be shown.
Also, have you tried the relative positioning of an actual popup? It could display under the cursor, but not sure if you would compromise for that…
i like that idea. ill try that.
i did look into that but the cursor does work that well for my needs.
here is a screen shot of what im trying to do (scaling is off i need to refine that later). the flex container idea works visually but it leaves an empty part of the container when not showing the selection part. i want to put this in a place above a view with historical data/charts and i want the selection section to not get in the way of whats under it.
this is the date time input component which is close to what im wanting to do.
If you have the basis for your container set to auto, controlling the meta.display property will shrink the container. On the other hand, using the visible property keeps it rendered so it will not change the container size.
the root container of the view is a coordinate container set to percent so there is no basis property for the entire flex container. i have basis for each item in the flex container only.



