Skip to content

Update divider decoration when filter/sort changes#1611

Merged
michaelschattgen merged 1 commit intobeemdevelopment:masterfrom
alexbakker:update-divider-decor
Feb 25, 2025
Merged

Update divider decoration when filter/sort changes#1611
michaelschattgen merged 1 commit intobeemdevelopment:masterfrom
alexbakker:update-divider-decor

Conversation

@alexbakker
Copy link
Member

This fixes an issue where the item decoration may be wrong in some cases. For example, adding a new entry to the bottom of the list may not update the decoration of the item that was previously the last one in the list.

To reproduce, use this vault: https://alexbakker.me/u/mov4455gp5.json. Start without a group filter, apply sorting based on Issuer (A to Z) and enable group multiselect. Then:

Probably introduced in 9131cae.

This fixes an issue where the item decoration may be wrong in some
cases. For example, adding a new entry to the bottom of the list may not
update the decoration of the item that was previously the last one in
the list.

To reproduce, use this vault: https://alexbakker.me/u/mov4455gp5.json.
Start without a group filter, apply sorting based on Issuer (A to Z) and
enable group multiselect. Then:
- Tap the "Test" chip
- Tap the "Test2" chip
- Tap the "No group" chip
- Notice that the offset between the last 2 entries looks wrong: https://alexbakker.me/u/nedcyiro2q.png

Probably introduced in 9131cae.
@michaelschattgen michaelschattgen merged commit 19fe7bd into beemdevelopment:master Feb 25, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants