Reactime icon indicating copy to clipboard operation
Reactime copied to clipboard

Change unsupported style property pointer-events to pointerEvents

Open aspiers opened this issue 4 years ago • 0 comments

The ComponentMap was causing this error:

react-dom.development.js:88 Warning: Unsupported style property pointer-events. Did you mean pointerEvents?
    in div (created by Tooltip)
    in Tooltip (created by TooltipWithBounds)
    in TooltipWithBounds (created by withBoundingRects())
    in withBoundingRects()
    in Portal
    in Unknown (created by ComponentMap)
    in div (created by ComponentMap)
    in ComponentMap (created by ParentSize)
    in div (created by ParentSize)
    in ParentSize (created by Context.Consumer)
    in Route (created by StateRoute)
    in Switch (created by StateRoute)
    in Router (created by MemoryRouter)
    in MemoryRouter (created by StateRoute)
    in StateRoute (created by Context.Consumer)
    in Route (created by StateContainer)
    in Switch (created by StateContainer)
    in div (created by StateContainer)
    in Router (created by MemoryRouter)
    in MemoryRouter (created by StateContainer)
    in StateContainer (created by MainContainer)
    in div (created by MainContainer)
    in div (created by MainContainer)
    in MainContainer (created by App)
    in App

so change it to pointerEvents.

aspiers avatar Dec 11 '21 20:12 aspiers