Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: Property '_measure' doesn't exist, js engine: hermes #22

Open
god-zhang opened this issue Feb 19, 2024 · 11 comments
Open

Comments

@god-zhang
Copy link

god-zhang commented Feb 19, 2024

Hi, Thank you for this package. That Great!

I encountered an issue and hope for assistance. Could you please take a look?

I copied the code for 'tab-flash-list' example, and when I run it, I encounter this error. How should I resolve it?
@alantoa

@a289459798
Copy link

a same

@god-zhang
Copy link
Author

a same

The issue wasn't resolved, so I switched to using react-navigation.

@alantoa
Copy link
Collaborator

alantoa commented Feb 28, 2024

Have you passed the index to TabFlashList? and what are the versions of your reanimated, gesture, and tab-view using?

@god-zhang
Copy link
Author

Have you passed the index to TabFlashList? and what are the versions of your reanimated, gesture, and tab-view using?

"react-native-tab-view": "^3.5.2",
"react-native-reanimated": "~3.6.2",
"react-native-gesture-handler": "~2.14.0",

And my project was created using Expo.

@alantoa
Copy link
Collaborator

alantoa commented Feb 28, 2024

https://github.com/showtime-xyz/showtime-tab-view/tree/main/example
Can you please run this example to see if it works for you? Basically, their versions are the same. If this example doesn't work for you let me know.

@a289459798
Copy link

a same

The issue wasn't resolved, so I switched to using react-navigation.

How to use header?

@god-zhang
Copy link
Author

https://github.com/showtime-xyz/showtime-tab-view/tree/main/example Can you please run this example to see if it works for you? Basically, their versions are the same. If this example doesn't work for you let me know.

My Expo SDK version is 50. The example in your response, which uses SDK 48, can be launched successfully, but it doesn't work with my SDK 50.
001957CB

@god-zhang
Copy link
Author

a same

The issue wasn't resolved, so I switched to using react-navigation.

How to use header?

You can refer to this link https://reactnavigation.org/docs/material-top-tab-navigator. If you want to customize the header, you can do it like this:
<MyHeader /> <Tab.Navigator tabBar={props => <MyTabBar {...props} />}> {...} </Tab.Navigator>

@a289459798
Copy link

a same

The issue wasn't resolved, so I switched to using react-navigation.

How to use header?

You can refer to this link https://reactnavigation.org/docs/material-top-tab-navigator. If you want to customize the header, you can do it like this: <MyHeader /> <Tab.Navigator tabBar={props => <MyTabBar {...props} />}> {...} </Tab.Navigator>

I need renderScrollHeader and minHeaderHeight

@god-zhang
Copy link
Author

a same

The issue wasn't resolved, so I switched to using react-navigation.

How to use header?

You can refer to this link https://reactnavigation.org/docs/material-top-tab-navigator. If you want to customize the header, you can do it like this: <MyHeader /> <Tab.Navigator tabBar={props => <MyTabBar {...props} />}> {...} </Tab.Navigator>

I need renderScrollHeader and minHeaderHeight

I'm sorry for the misunderstanding. I haven't used this approach before. Actually, I want to use this package specifically for its custom pull-to-refresh in a list. I think you can try "nested scrolling."

@a289459798
Copy link

I'm sorry for the misunderstanding. I haven't used this approach before. Actually, I want to use this package specifically for its custom pull-to-refresh in a list. I think you can try "nested scrolling."

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants