teableio / teable

✨ The Next Gen Airtable Alternative: No-Code Postgres
https://teable.io
GNU Affero General Public License v3.0
7.61k stars 306 forks source link

[Bug] Deleting selected rows deletes only first continuous series of selected rows #651

Closed solankimihir closed 2 weeks ago

solankimihir commented 3 weeks ago

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Create 3 blank rows in the table.

  2. Arrange 2 blank rows in between the existing data. Keep 1 blank row in the end. image

  3. Select all 3 of the blank rows and delete record image

  4. Only first 2 blank rows got deleted, last row still remains. image

If you perform same action but keep all 3 rows continuous, then all 3 are getting deleted correctly.

image image

Expected behavior All selected rows should get deleted.

Screenshots Refer to screenshots in line above.

Client (please complete the following information):

Platform (Please tell us which deployment version you are using) Both: teable.io and docker-standalone

Additional context Looks like only first series of selected rows that are continuous are getting deleted.