Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added OpenMode property for DrawerHost #789

Open

Conversation

@wongjiahau
Copy link
Contributor

@wongjiahau wongjiahau commented Sep 4, 2017

@ButchersBoy I've already implemented the OpenModeProperty for DrawerHost, but I'm not sure if the API looks like what you want.
Currently, the API looks like this :

<DrawerHost OpenMode="Pinned">
    <!---Content here--->
</DrawerHost>

demodrawerhost

Issues : If OpenMode is set to Pinned, all the drawers works as expected, however only the BottomDrawer does not push the main content when it is opened. I'm not sure why though.

@Keboo Keboo force-pushed the wongjiahau:Add-OpenModeProperty-for-DrawerHost branch from 09d89c0 to f3f2d5d Dec 26, 2019
@Keboo Keboo force-pushed the wongjiahau:Add-OpenModeProperty-for-DrawerHost branch from f3f2d5d to 7e9fa3c Dec 26, 2019
@Keboo Keboo added this to the 4.0.0 milestone Dec 26, 2019
@Keboo
Copy link
Member

@Keboo Keboo commented Dec 26, 2019

TODO Items before release

  • Add unit tests for drawer host
  • Previous functionality allowed for individual control for light dismiss of drawers. Is this needed?
  • Evaluate naming
  • MoreThanOneDrawerOpened can be optimized for early return.
  • UpdateMainContentMargin, evaluate simply creating new visual states. This could eliminated the Storyboard in the code, and allow for better re-templating.
  • New functionality should be unit tested.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.