Skip to content

Create a resuable drawer modal#1209

Open
kevinherdez wants to merge 1 commit into
NWACus:mainfrom
kevinherdez:kevinherdez/makeDrawerGeneral
Open

Create a resuable drawer modal#1209
kevinherdez wants to merge 1 commit into
NWACus:mainfrom
kevinherdez:kevinherdez/makeDrawerGeneral

Conversation

@kevinherdez

@kevinherdez kevinherdez commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

This PR takes the drawer component concept from ImageCaptionFieldEditView.tsx and create a new DrawerModal.tsx that supports showing a bottom rounded drawer modal that takes a custom child to display anything in the drawer. The two options for the drawer display are only showing on half of the screen or taking up the full screen. I added a spot in the dev menu to test out the functionality, and replaced the EditImageCaptionView component to use it.

The main driver for this is the new UI for the Nokian Tyres sponsorship which is going to use this style of drawer.

Demo
Simulator Screen Recording - iPhone 17 Pro - 2026-07-08 at 16 12 03

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

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.

1 participant