Flex 组合框需要选择两次才能打开下拉列表
当在 Flex 应用程序中选择组合框时,会快速闪烁,然后需要再次选择组合框才能打开下拉列表。之后,下拉菜单将按预期工作,但仅限于随后在表单上选择控件时。重新加载表单需要再次进行双重选择。任何关于如何解决这个问题的见解将非常感激。
When a combobox is elected in the flex app, there is a quick flicker, then the combobox needs to be selected again in order to get the dropdown to open. After that, the dropdown works as expected, but only while selecting the control subsequent times while on the form. Reloading the form requires the double selection again. Any insights to how to clear this up would be very much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我必须解决这个问题的方法是创建一个扩展
ComboBox
控件的自定义组件,该组件将与 ComboBox 的同时设置 ComboBox 的列表
。dataProvider
>数据提供者ComboBoxFix.as
The way I had to get around this issue was my creating a custom component that extends the
ComboBox
control that will set the ComboBox's ListdataProvider
at the same time as the ComboBox'sdataProvider
.ComboBoxFix.as