Fluent UI React组合和下拉列表未在CRA应用中打开

发布于 2025-01-23 14:58:05 字数 217 浏览 2 评论 0原文

我有一个新的React应用程序(CRA),并为该项目增加了React。某些Fluentui组件工作正常,但是组合和下拉措施都无法正常工作。当我单击其中任何一个以显示选项列表时,它都不会出现。我可以使用键盘(例如向下键并输入)选择一个新项目,当我单击控件打开它时,我可以看到HTML被渲染到DOM中,但是它在任何地方的页面上都不会明显显示。

此时,该应用程序非常简单(例如,没有更高的z索引)。有什么建议吗?

I have a new React app (CRA), with FluentUI React added to the project. Some of the FluentUI components are working fine, but neither the combo nor the dropdown are working correctly. When I click either of them to show the list of options, it does not appear. I can choose a new item using the keyboard (e.g. down key and Enter), and I can see the html being rendered into the DOM when I click the control to open it, but it's just not appearing visibly on the page anywhere.

The app is pretty simple at this point (nothing with a higher z-index, for instance). Any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文