-
Notifications
You must be signed in to change notification settings - Fork 273
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
onOpen and onClose event handlers for Select #5836
Comments
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository. |
Hello @SAP/ui5-webcomponents-topic-p , The reporter wants new events called Currently this can be achieved if we listen for Please decide whether or not this should be implemented. Regards, |
I think this might be related to this other feature request for Menu: Maybe they could be considered together... |
Hi @scameron, in order to continue with this feature request we would neee more information. Thanks! |
Hi @dobrinyonkov, You can refer to this issue for details about the use case, including screenshots of the behaviour we are trying to match: #5653. There are comments near the bottom where @ilhan007 suggests a work-around that we want to try, but that work-around isn't possible unless we can detect the open/close state on the menu popover. |
Hi @scameron, as far as I see #5653 is about Please correct me if I'm missing something here. Kind Regards, |
Hi @dobrinyonkov, Yes, you're right, in our case we're not actually using Select, we're using Menu. When I saw this one I thought it looked the same as the feature request on the Menu side (#5095) so that it might make sense to consider these together. If they are not related, apologies for the confusion. The one we need specifically for the workaround is the Menu. Perhaps @vishnuvardhan-s can add something if there's another use case to consider more specifically for Select. |
My case goes like this. The toolbar dropdown should not collapse when Select is opened, it should stay open. So, the solution for this would be to know if the Select is open and take decision based on it, whether to keep the toolbar open or not programatically. I have attached a video of the scenario for better understanding Select.issue.mov |
Internal Reference: BGSOFUIPIRIN-6004 |
There are two new events 'open' and 'close' which are fired after the dropdown's opening and closure respectively. Implements SAP#5836
* feat(ui5-select): new events introduced There are two new events 'open' and 'close' which are fired after the dropdown's opening and closure respectively. FIXES: #5836
Is your feature request related to a problem? Please describe.
I have a use-case where I need to know if
Select
is open or not.Describe the solution you'd like
Event handlers like
onOpen
andonClose
Describe alternatives you've considered
Passed an id to the
Select
say (select-id
) and then usedThe text was updated successfully, but these errors were encountered: