search

Home  >  Q&A  >  body text

node.js - 我使用了antdesign插件,为什么我把在Modal里的DatePicker赋值了之后,页面的呈现就出问题了?

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

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

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

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

怪我咯怪我咯2782 days ago779

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 15:06:54

    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.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 15:06:54

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

    Try to upgrade the version.

    reply
    0
  • Cancelreply