obsidian-excalidraw-plugin
obsidian-excalidraw-plugin copied to clipboard
BUG: on android, excalidraw canvas don't follow keyboard hiding
Your environment Android 12, on Tecno pop 8
Describe the bug When I hide the virtual keyboard with the arrow buttons on the bottom left of the screen, excalidraw don't sence the effective change, so it doesn't restore canvas in full screen
To Reproduce Entre obsidian Open excalidraw canvas Use text tools, Choose a place to enter text When the virtual keyboard appears Hide it with the hiding button on the bottom left of the screen,
Expected behavior When the keyboard appears, excalidraw adjust the canvas dimension as per the keyboard dimension, so after hiding the virtual keyboard it should restore it dimension.
videos
https://github.com/zsviczian/obsidian-excalidraw-plugin/assets/146543282/42088ed5-b2ce-4f42-b03b-4415d822e365
yes - on-screen keyboards are a pain in the... The current solution is not 100% perfect, but frankly, I am happy it works at least this well. I have an S23 Ultra. I can't reproduce the issue, but I can understand why it may be happening. I would expect this does not always happen. Does it?
I see, this only happens if you start to edit text, but then enter no text and hide the keyboard.... I am able to reproduce. Let me take a look
I hope to have resolved this in 2.1.7 Please test it once released and let me know. It will be another few days before I release 2.1.7...
Thank you.
Thanks a lot, that work fine, and sorry for the delay.