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
Adding Drawer controller #344
Conversation
why is the drawer not shown on top of the nav bar? |
ios/FluentUI.Demo/FluentUI.Demo/Demos/DrawerVnextDemoController.swift
Outdated
Show resolved
Hide resolved
ios/FluentUI.Demo/FluentUI.Demo/Demos/DrawerVnextDemoController.swift
Outdated
Show resolved
Hide resolved
The API of DemoController is now matched to show full screen. |
ios/FluentUI.Demo/FluentUI.Demo/Demos/DrawerVnextDemoController.swift
Outdated
Show resolved
Hide resolved
ios/FluentUI.Demo/FluentUI.Demo/Demos/DrawerVnextDemoController.swift
Outdated
Show resolved
Hide resolved
b0e7558
to
2a1cdfc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the issue on the video below is the main blocker.
Figuring out the animation comment might solve that comment along with this bug:
drawer_vnext_reposition_present_bug.mov
ios/FluentUI.Demo/FluentUI.Demo/Demos/DrawerVnextDemoController.swift
Outdated
Show resolved
Hide resolved
ios/FluentUI.Demo/FluentUI.Demo/Demos/DrawerVnextDemoController.swift
Outdated
Show resolved
Hide resolved
ios/FluentUI.Demo/FluentUI.Demo/Demos/DrawerVnextDemoController.swift
Outdated
Show resolved
Hide resolved
ios/FluentUI.Demo/FluentUI.Demo/Demos/DrawerVnextDemoController.swift
Outdated
Show resolved
Hide resolved
ios/FluentUI.Demo/FluentUI.Demo/Demos/DrawerVnextDemoController.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing all the comments!
I left a few more (including a bug on the "tap outside to dismiss"), but the .contentShape(Rectangle()) modifier will fix it.
Thanks for reviews. I have been tracking open issues on github |
5d8198c
to
f526900
Compare
Platforms Impacted
Description of changes
Adding Drawer Controller SwitUI component. Added design tokens for shadow modification.
Currently the drawer only supports slide out cases for left and right presentation style.
Edit:
Updated presentations style to override modal screen size.
Left Presentation Style
Right Presentation Style
Presentation with Dimmed background
Pull request checklist
This PR has considered:
Microsoft Reviewers: Open in CodeFlow