Comments (11)
@lukewalczak expo example https://snack.expo.dev/@mbarroso208/curious-blue-churros
from react-native-paper.
Hey @mMarcos208, please also pass onLayout
from render props to the TextInputMask
, it should solve your problem:
render={({value, onFocus, style, onLayout}) => (
<TextInputMask
returnKeyType="done"
value={value}
style={style}
onFocus={onFocus}
onLayout={onLayout}
type="custom"
/>
)}
Here you can find your modified snack
from react-native-paper.
I see, it should be released in 5.11.7
.
from react-native-paper.
Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository.
from react-native-paper.
Only this code.
<TextInput
error={!!error}
focusable
label="Quantidade"
showSoftInputOnFocus
returnKeyType="done"
mode="outlined"
render={({value, onChangeText, onFocus, onBlur, style}) => (
<TextInputMask
maxLength={inputProps.maxLength}
returnKeyType="done"
editable={inputProps.editable}
value={value}
style={style}
onChangeText={(text) => {
onChangeText?.(text)
onChange?.(text)
}}
onFocus={onFocus}
onBlur={(event) => {
inputProps.onBlur?.(event)
onBlur?.(event)
}}
{...maskProps}
/>
)}
/>
from react-native-paper.
Hey @mMarcos208 could you please create an expo snack?
from react-native-paper.
Ran into the same issue with outlined TextInput components which implemented the render method, when upgrading to v5.11.0.
from react-native-paper.
@ad-walker could you please share your issue details?
from react-native-paper.
@lukewalczak could you add this prop?
from react-native-paper.
@lukewalczak could you add this prop?
What do you mean?
from react-native-paper.
@lukewalczak could you add this prop?
What do you mean?
typescript prop. I need to add ts-ignore in my file.
from react-native-paper.
Related Issues (20)
- [Feature request] Add Material Rich Tooltips
- Using Chip results into error HOT 1
- [iOS] Extra space in between Component and Tooltip HOT 3
- @pchmn/expo-material3-theme's functionality should be a direct part of this library HOT 1
- RadionButton doesn't seem to implement MD3 HOT 1
- Icons do not match the corresponding name HOT 5
- disabled property on IconButton is not working HOT 4
- Data Table Pagination Dropdown bugs out on web when its almost at the end of the screen height
- there is a white color line behind the label HOT 2
- Please add a startIcon for Snackbar component HOT 1
- Deprecated Package Warning Adding to New Project
- TextInput right operand of 'in' is not an object HOT 6
- Icons not showing after upgrading to Expo SDK 50 HOT 25
- SegmentedButtons Checked Icon not support to customize
- `5.12.1` -> `5.12.3` upgrade: Package entrypoint does not exist HOT 3
- Button, IconButton disabled prop behaves incorrect inside Tooltip HOT 1
- TextInput with value flickers on render
- Surface doesn't have roundness
- Overriding Surface elevation colors is a bit undocumented
- Cannot override Card.Actions justifyContent style
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-paper.