igniteui-angular
igniteui-angular copied to clipboard
Classes to indicate position of auto overlay
Our designs need to change based on whether a panel has opened above or below the anchor point.
Here is what we have:
We need the top border and bottom border-radius to be swapped when the panel opens to the top like this.
Ideally, there could be a class to indicate that the panel is flipping up.
There is no easy way to find out now when the direction was changed by the AutoPositionStrategy
. IMO we should emit an event when this happens.
A little hacky way to handle this now could be to subscribe to overlay's onAnimtaion
event and check there if position settings were changed. Check this Stackblitz where I've implemented this. Note this way uses internal properties and this may stop working if anything gets changed in the components.
It would certainly be a nice feature. An event would work.
Thanks for the workaround.
There has been no recent activity and this issue has been marked inactive.
There has been no recent activity and this issue has been marked inactive.
@baleeds your feature request is included in our Roadmap for 2021 and could be expected in our next major release.
There has been no recent activity and this issue has been marked inactive.
There has been no recent activity and this issue has been marked inactive.
There has been no recent activity and this issue has been marked inactive.
There has been no recent activity and this issue has been marked inactive.
There has been no recent activity and this issue has been marked inactive.
There has been no recent activity and this issue has been marked inactive.
There has been no recent activity and this issue has been marked inactive.
There has been no recent activity and this issue has been marked inactive.