The issue involves updating TypeScript type definitions to include a valid SVG attribute value.
The issue reports a TypeScript error where 'bounding-box' is not accepted as a valid value for the pointerEvents attribute in SVG elements. This requires updating the TypeScript type definitions to include all valid SVG pointer-events values. The fix is localized to type definitions with clear requirements from MDN documentation.
React version: 19.2.0
html <svg style={{ pointerEvents: "bounding-box" }} />Type '"bounding-box"' is not assignable to type 'PointerEvents | undefined'. (ts 2322)Link to code example: https://codesandbox.io/p/devbox/flamboyant-tu-q2v7g5
(It's a JS code sandbox but you can hover over the property to see that bounding-box is not in the property list that the editor renders.)
Gives a TS error.
Should accept all valid values as listed (for example) here: https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/pointer-events#usage_notes
Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!