Skip to content
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

Can I focus out from the combobox using code? #7611

Closed
piyumi25 opened this issue Jan 11, 2019 · 6 comments
Closed

Can I focus out from the combobox using code? #7611

piyumi25 opened this issue Jan 11, 2019 · 6 comments

Comments

@piyumi25
Copy link

I need to focus out from the combobox in the onMenuDismiss event. Is it possible to do it?

@Vitalius1
Copy link
Contributor

Can you elaborate more your scenario? Maybe even provide a codepen (starter codepen). It's really hard to help you if you don't provide enough context. Thanks!

@piyumi25
Copy link
Author

piyumi25 commented Jan 11, 2019

this is my code pen https://codepen.io/piyumi28/pen/xmypVe?editors=1111
I am creating comboboxes dynamically and until focus out from the combobox the value is not appeared. I think if I can focus out when menu is dismissed the value may be show in the text box.

this video is related to the issue
https://www.screencast.com/t/aTBFVWyq8Jk

@msft-github-bot
Copy link
Contributor

This issue has been marked as being beyond the support scope of UI Fabric's issues board. It will now be closed automatically for house-keeping purposes.

@Vitalius1
Copy link
Contributor

Not sure if it's a bug or not. Needs more eyes from someone familiar with the component. @jspurlin @stanleyymsft @ecraig12345 FYI.

@Vitalius1
Copy link
Contributor

Vitalius1 commented Jan 16, 2019

@piyumi25 I modified the codepen you provided (https://codepen.io/vitalius1/pen/GPeBaB) and it looks like everything is working except the issue where you don't see the options while selecting (tracked in #7558 as a feature request).
There were a couple of things wrong in the usage of multiple ComboBoxes on the same page. I left some comments to make clear what was wrong.

Will mark it as not an issue. Feel free to close the issue or leave it and it will be closed automatically by the bot.

Also, the example page on the demo website needs to be cleaned a little to fix the usage as I noticed it also has issues.

@piyumi25
Copy link
Author

thanks for your help.

@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants