You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Text editor toolbar menus open without a title in the mobile bottom drawer #3400
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Toolbar menus in the text editor turn into a bottom drawer on mobile viewports. The drawer header is rendered from the title prop of OcDrop, but TextEditorToolbarItem does not pass one, so the drawer opens with an empty header and no indication of which menu it belongs to.
This affects every toolbar menu that becomes a drawer. It is most noticeable on "Insert image" and "Create a table", including the nested drawer behind "Choose rows & columns" that holds the table size picker.
Reproduction Steps
Open a Markdown or text file in the text editor on a mobile viewport (below the 640px breakpoint, e.g. Chrome DevTools device emulation).
Tap the image button in the editor toolbar.
Observe the bottom drawer that opens.
Repeat with the table button, then tap "Choose rows & columns" inside the drawer that opens.
Expected Outcome
The bottom drawer shows the title of the action it was opened from, for example "Insert image", "Create a table" and "Choose rows & columns", the same way other bottom drawers in the application do.
Actual Outcome
The drawer header is empty. Only the back and close buttons are visible, so there is nothing naming the menu that is open.
Activity