-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Deleting multiselected blocks #2103
Conversation
5cb988f
to
784aad0
Compare
Yaaaay! Love it. 👍 👍 |
Codecov Report
@@ Coverage Diff @@
## master #2103 +/- ##
==========================================
- Coverage 20.34% 20.33% -0.01%
==========================================
Files 135 135
Lines 4233 4234 +1
Branches 721 720 -1
==========================================
Hits 861 861
- Misses 2841 2843 +2
+ Partials 531 530 -1
Continue to review full report at Codecov.
|
@notnownikki Not sure how to reproduce this bug (which browser is this?). Anyway, the fact that we're storing the selection and the multi-selection in two different reducer is not a good thing and could lead to this kind of bugs, we should make sure to improve these reducers separately (cc @iseulde ) |
Are you saying we should keep them separate or merge them? I'll have a look at this this afternoon! |
@iseulde I'm saying we should merge them so it's one way or another. We wouldn't have the possibility to have a multiselection and a single selected block in the same time if they are stored in the same reducer. |
@youknowriad @iseulde this is how I reproduced it. It's probably a "nikkibug" - that is, something I trigger every time, and no one else does until I point it out... 😄 Using chrome.
|
Further info: this doesn't happen in Chrome 60 or Firefox, but does in Chrome 59 (exact version number: 59.0.3071.109) |
Ok, So I think we should merge this and consolidate the selections reducer separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great! Awesome!
@notnownikki Could you open a separate issue the bug then? :) |
closes #2101
The code handling this was there but not being triggered properly.
Testing instructions