Sidebar closes on field focus with Android Chrome

Created on 25 September 2023, about 1 year ago
Updated 27 May 2024, 6 months ago

Problem/Motivation

I have not managed to find issue matching bug ticket for this issue. Usage of the Editor sidebar in impossible with Android Chrome. In short when user focuses on a text field on the theme sidebar the window resize is triggered.

Used device Android 13; Pixel 7a Build/TQ3A.230805.001

Steps to reproduce

  1. Run Drupal Quick install
  2. php -d memory_limit=256M ./core/scripts/drupal quick-start demo_umami
  3. Download, Install and Activate Gin admin theme
  4. Eg. use browser sync to proxy the local url -> browser-sync start --proxy 'http://127.0.0.1:8888โ€™
  5. Open Android Simulator or Android device and go to browser-sync proxy url and login via uli url
  6. Edit Article & Focus to a text field located in right sidebar.

Proposed resolution

I managed track down the issue to /js/sidebar.js:40, when focusing on the text field the window.rezise is fired. Resize callback closes the sidebar and removes the android keyboard. I would like to find out what is triggering the window.resized function.

๐Ÿ› Bug report
Status

Fixed

Component

User interface

Created by

๐Ÿ‡ซ๐Ÿ‡ฎFinland Onnia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024