react-select:在检查器中进行样式设置时如何保持下拉菜单打开? [英] react-select: how to keep dropdown open when styling in inspector?

查看:19
本文介绍了react-select:在检查器中进行样式设置时如何保持下拉菜单打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 react-select 并且我正在对其进行自定义,但我没有找到执行此操作的选项.在我设计样式时,是否有一些解决方法可以让下拉菜单保持打开状态?

I'm using react-select and I'm customizing it,I didn't found an option to do this. Is there some workaround I can use to keep dropdown open when I'm styling it?

推荐答案

在 chrome 中,进入 Elements > Event Listeners > 打开blur" > 用鼠标移动到写有document"的右侧,然后你可以看到一个按钮删除">点击它

In chrome, got to Elements > Event Listeners > open "blur" > with the mouse go to the right of where it is written "document", then you can see a button "Remove" > click on it

这篇关于react-select:在检查器中进行样式设置时如何保持下拉菜单打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆