Rplus / Orna

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Marker popup closes automatically when focus-in name input

Rplus opened this issue · comments

commented

When we edit name of marker,
The phone virtual keyboard will show.
And then, popup of marker will close automatically.
so, we cannot edit name on Phone deveice.

reason:
After layout size changes (keyboard show), it wil re-calculate markers in the view.
The marker will be killed when it is not in the viewport.

I think it might be fixed by enlarge calculation size.

https://github.com/Rplus/Orna/blob/6c89362/map/src/lib/Dungeons.svelte#L39-L51