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

feat(HTL-109459): multiroom drawer) #1523

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

fareedahmad1
Copy link
Collaborator

Add zindex, modify padding, add prop to disable drag to dismiss animation

export const DrawerWrapper = styled(Absolute)`
${({ placement }) =>
export const DrawerWrapper = styled(Box)`
position: fixed;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

making the drawer fixed instead of absolute

isMobile?: boolean
isOpen?: boolean
isDraggable?: boolean
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ability to enable/disable the swipe to dismiss animation

@fareedahmad1 fareedahmad1 force-pushed the feat/HTL-109459-multiroom-drawer branch from 69e1aaf to 6e68b40 Compare October 24, 2024 13:54
`
position: ${position || 'absolute'};
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allow position to be set by prop

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.76%. Comparing base (c83381c) to head (6e68b40).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
packages/core/src/Drawer/Drawer.tsx 83.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1523      +/-   ##
==========================================
+ Coverage   93.72%   93.76%   +0.03%     
==========================================
  Files         149      149              
  Lines       11279    11284       +5     
  Branches      683      687       +4     
==========================================
+ Hits        10571    10580       +9     
+ Misses        684      681       -3     
+ Partials       24       23       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fareedahmad1 fareedahmad1 merged commit 3eea47e into main Oct 24, 2024
9 of 10 checks passed
@fareedahmad1 fareedahmad1 deleted the feat/HTL-109459-multiroom-drawer branch October 24, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants