node.js - 我使用了antdesign插件,为什么我把在Modal里的DatePicker赋值了之后,页面的呈现就出问题了?
怪我咯
怪我咯 2017-04-17 15:04:54
0
2
818

如题,DatePicker没有赋值的时候:

这个modal可以正常的上下滑动的,
但是,我一旦对DatePicker赋值了之后,Modal上下移动的时候呈现就有问题了

我鼠标滚轴上下移动了之后,modal没有移动,只是modal脚部的确认、取消按钮在移动,

控件明显跑偏了。。
提问:问什么会出现上述的情况?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
大家讲道理

I have never used this before, and your description is not very clear. Let’s take a guess

The normal sliding up and down of the modal refers to the normal sliding up and down inside. It mainly depends on your height. I saw in their source code that when a dialog box pops up, the entire html cannot be slid. After adding date assignment, it cannot slide. I think it may be that the date plug-in affects the entire css.

大家讲道理

Hello, this issue has been fixed here: https://github.com/ant-design...

Try to upgrade the version.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template