carbon-ui-builder
carbon-ui-builder copied to clipboard
Accordion issues
- [ ] accordion item shouldn't be draggable (or you should only be able to drop it into accordion)
- [ ] draggable list in accordion context menu could solve that (move up and move down buttons in accordion item context menu could help too, but might not be necessary if accordion items are not selectable, see progress-indicator)
- [ ] when you delete the last accordion item it should delete the accordion (parent)
- [ ] accordion items shouldn't be expanded on click in canvas (draggable list with expanded prop could fix that)
others?
can you please elaborate a bit on what to do to improve on this topic?
Sure thing, @SahilAnower :)
This is about the AAccordion component from a set of components that can be used in the fragment editor. Accordion items mentioned are instances of AAccordionItem components.
A* components are build from real Carbon components and by default they have a certain behaviour. Due to the nature of the editor, some of that behaviour needs to be suppressed or modified to get in line with the expected experienced when interacting with them do design and build a UI fragment in the editor.
Anything else I missed that you need to know?