zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.11k stars 224 forks source link

BUG: The tools at the bottom do not appear on mobile devices arrow #2060

Open LeonelRFF opened 6 days ago

LeonelRFF commented 6 days ago

Have you searched for existing issues (including closed ones)?

Does this bug persist in a new vault with only Excalidraw installed?

Your environment

SYSTEM INFO: Operating system: android 14 (OPPO CPH2363) Obsidian version: 1.6.7 (149) API version: v1.6.7 Login status: not logged in Live preview: on Base theme: light Community theme: none Snippets enabled: 0 Restricted mode: off Plugins installed: 1 Plugins enabled: 1 1: Excalidraw v2.5.1

RECOMMENDATIONS: Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Describe the bug

When opening excalidraw from a mobile device with the command palette in any of the following ways, the bottom bar is not displayed:

Steps to reproduce

  1. Open the command palette
  2. Open excalidraw from one of the options mentioned above

https://github.com/user-attachments/assets/8c15aa6c-6f3e-4ce4-abb7-6a778f57db8e

Additional information, perform the steps quickly, as you can see in no case can you see the bottom bar

Expected behavior

It is expected to display the bottom bar, zoom, redo and do

display the bottom

Additional context

This error only occurs sometimes,

https://github.com/user-attachments/assets/699bdd65-f9a1-4142-98bd-f72fe3ba443c

zsviczian commented 4 days ago

Handling the effect of the on-screen keyboard within the Obsidian style-sheet environment is a struggle... I won't bore you with details... suffice to say I have some custom logic around detecting the onscreen keyboard and the changes to the layout. Clearly my solution is not 100%. Will try to take a look, however I don't promise a quick turnaround. I would expect the buttons should also come back if you rotate the screen and back, or you double tap to add a text element then cancel.

LeonelRFF commented 4 days ago

great, no problem, I currently avoid this problem by putting excalidraw in full screen before interacting, I say this as a tip in case this problem flies 🙂