Comments (3)
If you're only targeting web, you can use input
directly.
See docs on wrapping elements so they can still be styled https://necolas.github.io/react-native-web/docs/unstable-apis/
from react-native-web.
None of those features exist in React Native, so it wouldn't be cross-platform compatible. Are you sure you can't use existing features like platform-forking files to build your own version of whatever component you need, implemented for each platform?
from react-native-web.
Thanks for the reply @necolas !
Unfortunately, we canโt rely on raw inputs. The idea is to build our inputs components on top of react-native-web (and Tamagui) as part of our design system.
This design system aims to be usable in different kind of applications and features: mobile-only ones, web-only ones, and universal ones.
As such we really need to support web standards directly in these components to avoid getting mobile related limitations when working in a standard web environment.
Itโs quite similar to this other issue I reported in #2596
from react-native-web.
Related Issues (20)
- Unable to resolve module react-native-web/dist/exports/DrawerLayoutAndroid from node_modules\react-native-gesture-handler\src\components\GestureComponents.tsx HOT 7
- TextInput Loses Focus on Each Keystroke HOT 2
- aria-role doesn't work HOT 1
- TextInput component does not support textAlign property HOT 2
- TextInput incompatible with FormData due to missing name forwarding HOT 3
- `VirtualizedList` passive event listener warning
- url deep links/routing not working with react-navigation HOT 1
- Pressable triggers onPress twice, when activated via Enter key and set to disabled HOT 1
- Pointer event is not applied for grand-children
- Module build failed HOT 2
- `accessibilityRole="search"` should map to element `<search>`
- In webview Input box is not working As expected HOT 1
- Styles are wrong when used inside a shadow root HOT 4
- react native bottom tab not found in react native web no render
- Breaks with libraries that use NativeModules, like react-native-randombytes HOT 3
- PanResponder is not working with scale/zoom
- No documentation about shadow* style props being deprecated HOT 2
- Wrong measureInWindow value while using transform
- Avoid react updates on each animation frame HOT 2
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 react-native-web.