nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
142 stars 24 forks source link

Prevent accidentally leaving *Edit row* with ESC while having unsaved changes #1167

Open ChristophWurst opened 3 months ago

ChristophWurst commented 3 months ago

Steps to reproduce

  1. Create a table with a text column
  2. Add a row
  3. Open the edit row modal
  4. Add a link to the text -> the link preview popover shows
  5. Click Esc because I intuitively think this would close the popover

Expected behavior

The popover closes or nothing happens. But the modal stays open with my changes.

Actual behavior

The modal closes, my changes are lost.

Tables app version

No response

Browser

No response

Client operating system

No response

Operating system

No response

Web server

None

PHP engine version

None

Database

None

Additional info

No response