Comments (4)
I've attempted a fix for this, we basically have to create our own custom reanimated underling view rather than using their View, and then make it support applying the various web-only tamagui features. It's very doable but when I tried last I ran into various issues. cc @ehxxn
from tamagui.
Looking at the animations-moti code, it is hard to see anything that could indicate a bug or gap in that package.
So perhaps this is an issue in that package's core dependency, moti. Maybe within moti, the testID
is being overwritten/removed unintentionally, or perhaps it needs to be explicitly passed to an inner element?
@nandorojo, what would be your guess? Or your recommendation for how to handle this issue?
from tamagui.
Moti definitely isn't involved with that prop. My guess is that this happens since tamagui gets raw props from the component, passes them to moti, gets the style back, but then isn't spreading the test id onto the component it's wrapping
from tamagui.
yeah having our own layer should make it easier to manage
from tamagui.
Related Issues (20)
- Can't use user events from React Native Testing Library since Tamagui elements won't fire the correct events HOT 7
- Select: web touch events on ListItem propagate when they should not HOT 1
- SizableText or Paragraph styled component don't apply `color`, `fontSize` nor `tag` HOT 1
- fontFamily="$mono" warning in Expo HOT 4
- Copying a command from code snippets, returns undefined HOT 2
- Scroll behavior in Select with long lists
- bun create tamagui fails if git clone.defaultRemoteName is not "origin"
- Tamagui throws error when using Expo 51 New Arch HOT 16
- DatePicker on mobile HOT 2
- Can't upgrade to expo 50 HOT 1
- Tamagui class font weights broken when upgrading to Expo 51 HOT 1
- [Documentation] Changing package manager does not change the command on other code block HOT 3
- [Feature request] Wrap Burnt alerts
- Please Update lucide icon version
- Why can't the website open? HOT 2
- SVG tags being wrapped HOT 4
- Render Error: Cannot read property 'state' of undefined HOT 1
- [Bug] Select Trigger causes submission when inside a form (Web)
- Enter animations don't work with CSS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tamagui.