obsidian-excalidraw-plugin icon indicating copy to clipboard operation
obsidian-excalidraw-plugin copied to clipboard

BUG: on android, excalidraw canvas don't follow keyboard hiding

Open JE-Amouel opened this issue 1 year ago • 5 comments

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

JE-Amouel avatar Apr 19 '24 17:04 JE-Amouel

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?

zsviczian avatar May 01 '24 11:05 zsviczian

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

zsviczian avatar May 01 '24 11:05 zsviczian

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...

zsviczian avatar May 01 '24 12:05 zsviczian

Thank you.

JE-Amouel avatar May 01 '24 20:05 JE-Amouel

Thanks a lot, that work fine, and sorry for the delay.

JE-Amouel avatar May 13 '24 19:05 JE-Amouel