Problem with "hideOnOutsideClick"
Posted: 23 Dec 2021, 18:51
When using blocks with javascript interaction like "Narrow Sidebar with Titles" when clicking on menu-item that open sub-menu like the "Reports" button in the showcase , to close the submenu we need to click again on the "Reports" button , the "Reports" button have for data-pb-styleclass what is the purpose of the attribute "hideOnOutsideClick" ?
should it manage this kind of interaction : if a sub-menu is open if I click outside the sub-menu (somewhere on the page) then the sub-menu should be closed automatically (css class to hidden). if yes then there is a bug.
the showcase on the site of primefaces as well as the purchased version (launched with maven) has the same anomaly.
Code: Select all
data-pb-styleclass="{ selector: '@next', toggleClass: 'hidden', hideOnOutsideClick: true }"
should it manage this kind of interaction : if a sub-menu is open if I click outside the sub-menu (somewhere on the page) then the sub-menu should be closed automatically (css class to hidden). if yes then there is a bug.
the showcase on the site of primefaces as well as the purchased version (launched with maven) has the same anomaly.