Skip to content

【兼容性问题】低版本Chrome不支持getRootNode  #882

@consistent-k

Description

@consistent-k

这行代码里的getRootNode不兼容低于54版本的Chrome浏览器,求解。

https://github.com/react-component/picker/blob/master/src/PickerInput/RangePicker.tsx#L431

image

另一个组件SinglePicker的点击事件是另一种处理 这个组件在Chrome低版本上没问题
https://github.com/react-component/picker/blob/master/src/PickerInput/SinglePicker.tsx#L360

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions