Highcharts模态编辑器在打开模态编辑器之前滚动页面时不能完美工作。

huangapple go评论125阅读模式
英文:

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

huangapple
  • 本文由 发表于 2020年1月6日 18:40:54
  • 转载请务必保留本文链接:https://go.coder-hub.com/59610626.html
  • highcharts-editor
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定