igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

Classes to indicate position of auto overlay

Open baleeds opened this issue 3 years ago • 10 comments

Our designs need to change based on whether a panel has opened above or below the anchor point.

Here is what we have: image

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.

baleeds avatar May 06 '21 14:05 baleeds

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.

wnvko avatar May 12 '21 12:05 wnvko

It would certainly be a nice feature. An event would work.

Thanks for the workaround.

baleeds avatar May 12 '21 15:05 baleeds

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Jul 12 '21 00:07 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Sep 11 '21 00:09 github-actions[bot]

@baleeds your feature request is included in our Roadmap for 2021 and could be expected in our next major release.

radomirchev avatar Oct 19 '21 07:10 radomirchev

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Jan 09 '22 00:01 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Mar 11 '22 00:03 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar May 11 '22 00:05 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Jul 11 '22 00:07 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Sep 10 '22 00:09 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Nov 12 '22 00:11 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Jan 14 '23 00:01 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Mar 17 '23 00:03 github-actions[bot]