widgetbook icon indicating copy to clipboard operation
widgetbook copied to clipboard

Android hardware button quit widgetbook application

Open mjablecnik opened this issue 1 year ago • 6 comments

Description When I run Widgetbook in mobile device, I have a bottom panel with 3 icons (Navigation, Addons, Knobs). When I click on one icon so modal popup is showed with content. For close this modal you can swipe it down or click outside. But when you accidentally click on Hardware button in Android, whole application is closed.

Steps To Reproduce

  1. Start Widgetbook in Android mobile
  2. Click on Addons icon in bottom panel
  3. Click on hardware android button
  4. Whole application is closed

Expected Behavior When is opened modal popup, close this popup. When is not opened modal popup, show dialog with question if I really want to quit whole application.

mjablecnik avatar May 20 '24 08:05 mjablecnik

Hello @mjablecnik 👋

As this issue might be a low-priority to us compared to other issues that affect web/desktop, do you want to work on fix for this?

yousinix avatar May 21 '24 08:05 yousinix

Hello ! I want to contribute to Widgetbook. Can I work on this issue ?

iv4n-ga6l avatar May 31 '24 00:05 iv4n-ga6l

@YoussefRaafatNasry Now I do not have a time so @IvanGael if you want to work on this issue you can do it ;)

mjablecnik avatar May 31 '24 11:05 mjablecnik

Hello @IvanGael 👋

Great to hear that you want to contribute on Widgetbook! 💙 I am assigning this issue to you, and let me know if you need any help.

Our mobile layout is managed in this file, so it can be a good starting point.

yousinix avatar May 31 '24 11:05 yousinix

Okay good @YoussefRaafatNasry . I'll start to work on it soon. I will get back to you if I have any questions.

iv4n-ga6l avatar May 31 '24 18:05 iv4n-ga6l

Hello @YoussefRaafatNasry @mjablecnik ! I just submit a PR for this issue. Let me know your thoughts.

Here is a link : https://github.com/widgetbook/widgetbook/pull/1200

iv4n-ga6l avatar Jun 23 '24 02:06 iv4n-ga6l