英文:
Highcharts modal editor not working perfectly when we scroll the page before opening the modal editor
问题
我在我的项目中有一个按钮,当用户点击这个按钮时,高级图表模态编辑器会打开。但是如果用户在点击按钮之前在页面上滚动了任何内容,那么模态编辑器会显示一些设计问题。但是这个问题在高级图表模态编辑器的在线演示中也存在,当我们在点击按钮之前在页面上滚动时。这是在在线演示中点击“创建图表”按钮后滚动后的问题。有人可以帮助我解决这个问题吗?
英文:
I have a button in my project and when the user clicks on this button, the highcharts modal editor is opened. but when the user made any scroll on the page before clicking on the button, then the modal editor should show some design issues.
But this issue exists in the highcharts modal editor live demo also when we made a scroll on the page before clicking on the button.
this is an issue after I click the "CREATE A CHART" button in the live demo after a scroll
Can anyone help me to fix this one?
答案1
得分: 0
在你的 highcharts-editor
目录中有一个文件 highcharts-editor.min.css
。在这个文件中搜索类 .highed-dropdown-items
,你会看到:
position: fixed;
将其更改为:
position: absolute;
这肯定会解决你的问题。
英文:
There is a file highcharts-editor.min.css
in your highcharts-editor
directory. Search for class .highed-dropdown-items
in that class you can see
**position : fixed;**
change that to
**position: absolute;**
This will fix your issue for sure
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论