Victor Kamei Kay
Victor Kamei Kay
Same problem here, after upgrade to 4.3, using Next.js 15 and React 19... ` "@react-pdf/renderer": "^4.3.0", `
@mdodge-ecgrow which version are you using?
I think I figured out the problem: In @react-pdf/stylesheet/lib/index.js: ```js const BORDER_SHORTHAND_REGEX = /(-?\d+(\.\d+)?(in|mm|cm|pt|vw|vh|px|rem)?)\s(\S+)\s(.+)/; const matchBorderShorthand = (value) => value.match(BORDER_SHORTHAND_REGEX) || []; const resolveBorderShorthand = (key, value, container) => {...
Thanks, @DeviousM. My workaround was to set all the places where I was setting the border to 0 (or none), to 0.0001px. Visually, the border disappeared, as did the error....