open-source-labs / Reactime

Developer tool for time travel debugging and performance monitoring in React applications.
https://www.reacti.me
MIT License
2.17k stars 200 forks source link

Change unsupported style property pointer-events to pointerEvents #264

Closed aspiers closed 1 year ago

aspiers commented 2 years ago

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 commented 1 year ago

This was fixed independently by bf5bb9d03658feb58f538e98a008d07cc7522f14 on 1st March 2022, 3+ months after I submitted this.