react-native-skia icon indicating copy to clipboard operation
react-native-skia copied to clipboard

[Android] onLayout not be called on <Canvas /> in release mode

Open doublelam opened this issue 9 months ago • 0 comments

Description

Hi, it seems onLayout not be called on <Canvas /> in release mode

<Canvas style={{ flex: 1 }} onLayout={onLayout}>

it works well on debug mode, but not in release mode

React Native Skia Version

"2.0.0-next.3"

React Native Version

"0.78.0"

Using New Architecture

  • [x] Enabled

Steps to Reproduce

just test it on release mode

Snack, Code Example, Screenshot, or Link to Repository

null

doublelam avatar Apr 29 '25 10:04 doublelam