Need More Info
Last Updated: 18 Sep 2024 14:20 by ADMIN
Stefan
Created on: 18 Sep 2024 10:52
Category: AnimationContainer
Type: Feature Request
1
boundary detection for animation container

It will be nice to have boundary detection for animation container

1 comment
ADMIN
Dimo
Posted on: 18 Sep 2024 14:20

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.