Closed (duplicate)
Project:
Paragraphs
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2017 at 14:28 UTC
Updated:
25 Jan 2018 at 22:14 UTC
Jump to comment: Most recent

Comments
Comment #2
miro_dietikerYeah party... ;-)
That's strange. The idea was that a failing validation basically consistencly force expands the Paragraph widget / child. So instead of just displaying the widget / child expanded even if it has "collapsed" state, the validation should set that state back to edit.
It seems that's a bug in validation result affects state consistency.
Comment #3
miro_dietikerAaaaand sorry to mention, but tests will be a requirement for these problems. :-)
Comment #4
miro_dietikerConnecting issues..
Comment #5
berdirThe reason it behaves like this is because of the auto-uncollapse feature that we currently have that automatically uncollapses paragraphs with validation errors.
The all button doesn't update because we used to build that first. Now we build it last which fixes other problems and also this, now the button knows that they are still uncollapsed.
But we identified the closed-paragraph-validation-feature as a huge performance problem in #2935134: [meta] Improve performance of paragraphs widget and are basically removing it there. Instead, we fixed validation of the collapse button so you instead now get a validation message that tells you *why* you're not allowed to collapse :)
Closing as duplicate.