You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I pass a ref to the pager props. I'm getting this error: TypeError: Cannot assign to read-only property 'current.
The platform tested is android, but I believe it would be the same in iOS too.
Expected behavior
i excpect to get the pager ref in order to use goToPage method.
Reproduction
to reproduce you can take any sample and pass a ref to pager props.
const pagerRef = useRef(null);
pagerProps={{
ref: pagerRef,
}}
The text was updated successfully, but these errors were encountered:
Environment
Library version: 1.1.1
Affected platforms
Current behavior
When I pass a ref to the pager props. I'm getting this error: TypeError: Cannot assign to read-only property 'current.
The platform tested is android, but I believe it would be the same in iOS too.
Expected behavior
i excpect to get the pager ref in order to use goToPage method.
Reproduction
to reproduce you can take any sample and pass a ref to pager props.
const pagerRef = useRef(null);
pagerProps={{
}}
The text was updated successfully, but these errors were encountered: