======== TEMPLATE BUG FORM ========
Wappler Version : 2.4.2
Operating System : Windows 10
After making a change, using either code view or the App Structure, I would expect the focus to remain where it was, or next to the changed elements.
The focus moves and it’s necessary to find the element you were editing. Also, if you’re working on a modal, the modal closes.
How to reproduce
I’ve noticed this in several situations, mainly with modals. I have quite a complicated page including a Data Detail section containing three modals. I’ve duplicated an existing page and am making a number of modifications. Two of the modals contain forms with a series of Horizontal From Groups. If I delete or move these form groups, the modal closes. In some cases, the focus in code view moves to the top of the page. When deleting, this happens whether I delete the code directly or use the X in the App Structure panel. I’m moving the form elements by dragging.
I’ll send a bug report.