You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The possiblePlacements are only used when auto is set to true. This does not make sense to me, also when reading the definition of auto:
should we switch automatically to a placement that is more visible on the screen?
What I want to happen here is for useLayer to find the best position when opening the layer, but not reposition it afterwards. This way, there is no possibility to do that, because you'd always need to set auto to true.
Suggested change: make auto only control repositioning of an open layer, and initial placement always take possiblePlacements into account. If you'd not want any other positions to be selected, you just leave possiblePlacements empty right?
The text was updated successfully, but these errors were encountered:
rijk
changed the title
auto prop pretty much useless as is
auto prop not acting as expected
Dec 18, 2020
Take the following config:
Expected result:
Actual result:
The
possiblePlacements
are only used whenauto
is set to true. This does not make sense to me, also when reading the definition ofauto
:What I want to happen here is for
useLayer
to find the best position when opening the layer, but not reposition it afterwards. This way, there is no possibility to do that, because you'd always need to setauto
to true.Suggested change: make
auto
only control repositioning of an open layer, and initial placement always takepossiblePlacements
into account. If you'd not want any other positions to be selected, you just leavepossiblePlacements
empty right?The text was updated successfully, but these errors were encountered: