alexd-zyngr
alexd-zyngr
@jjgarrett0 as long as `BottomDrawer` inherits `Frame` it should be possible to use it within a `Grid`. So far I have an issue of "showing the drawer on top instead...
@jjgarrett0 experimenting with `LockStates` order might also help achieving correct looks. Since `BottomDrawer.Open()` and `BottomDrawer.Close()` use `LockStates.Last()` and `LockStates.First()` respectively. https://github.com/galadril/Xam.Plugin.SimpleBottomDrawer/blob/81eef2e1d0c5f3709f1f964f7cb58f0b785a9f39/Xam.Plugin.SimpleBottomDrawer/BottomDrawer.cs#L293 P.S. Not sure whether the control can handle non-monotonic...
My xaml just in case: ```xaml ```
@jjgarrett0 so I've figured out that proper bottom positioning is achieved by that magical `-65` constraint https://github.com/galadril/Xam.Plugin.SimpleBottomDrawer/blob/81eef2e1d0c5f3709f1f964f7cb58f0b785a9f39/Samples/Xam.Plugin.SimpleBottomDrawer.Samples/Xam.Plugin.SimpleBottomDrawer.Samples/MainPage.xaml#L64 ```xaml RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=1, Constant=-65}"> ``` Which means `DrawerView.Margin.Top == ContainerView.Height -...
[UPD] seems like `BottomDrawer.TranslateTo()` does not work nicely with "large `.Margin`" approach. The drawer is rendered in the bottom but is not updated by drag gesture (despite all position calculations...