We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Having a message thread where one message always should be open.
AccordionPanel of Accordion should not close on click or enter. The panel should only close when an other panel is opened.
Add AccordionPanel.setClosable(boolean)
Expert chat and me came up with this solution: snippets:
vaadin-accordion-panel[opened] { pointer-events: none; }
.style("pointer-events: auto") //Re-enable pointer events disabled on AccordionPanel
c.element.executeJs("this.onclick = (ev)=>{ev.preventDefault(); ev.stopPropagation(); return false}")
From expert chat to close on keyboard Enter. Will flicker, but keyboard usage is less used
messageThreadAccordion.addOpenedChangeListener { if (messageThreadAccordion.openedIndex.isEmpty) { messageThreadAccordion.open(openedIndex) } openedIndex = messageThreadAccordion.openedIndex.asInt }
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe your motivation
Having a message thread where one message always should be open.
AccordionPanel of Accordion should not close on click or enter. The panel should only close when an other panel is opened.
Describe the solution you'd like
Add AccordionPanel.setClosable(boolean)
Describe alternatives you've considered
Expert chat and me came up with this solution:
snippets:
From expert chat to close on keyboard Enter. Will flicker, but keyboard usage is less used
Additional context
No response
The text was updated successfully, but these errors were encountered: