It will be nice to have boundary detection for animation container
Closing in favor of the existing Popup and Popover components, which have screen boundary detection. Also see Differences Between Telerik Popup Components
Hello Stefan,
Unlike other popup components, the AnimationContainer renders at its place of declaration and doesn't have an anchor:
Comparison between all Telerik Blazor popup components
This makes the AnimationContainer's positioning mechanism rather different. As a result, features like boundary detection or fit/flip collision avoidance may be ambiguous or infeasible to implement in a universal manner.
My advice is to measure the screen size (for example, with MediaQuery) and adjust the dimensions and position parameters of the AnimationContainer accordingly. Or, consider a Popup component instead, which is a "true" popup component, because it's not rendered in-place.
Do you have a special reason to use an AnimationContainer in your case?
Dimo
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.