Comments (1)
@gsofter please make sure to set padding-right: 0 in styles of your input. It seems that the browser sets some padding for an input on iOS. Suprisingly, it happens only on physical mobile device and cannot be reproduced using safari devtools on macOS.
Example code using styled-components:
const StyledInput = styled(ReactCodeInput)`
> input {
padding-right: 0;
}
`;
...or
<ReactCodeInput inputStyle={{paddingRight: 0}} />
from react-code-input.
Related Issues (20)
- is there a working example of integration with redux-form?
- The bug in value validation
- Support for Tab Index
- Support for Tab Index - WIP
- Input type number allows for plus sign (+)
- Warning: Prop `id` did not match. Server: "6ea9fa4d-5095-404a-84a9-e39dcafd3778-0" Client: "470ee300-d990-4741-83a0-8adbb512eaba-0" HOT 2
- max-length not valid for input type number
- not working autoFocus in safari
- Add readonly option to component
- Placeholder is not working HOT 2
- How to enable shift key?
- Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code HOT 2
- Support for MUI TextField
- How to hide the spinner for `number` type HOT 1
- autoComplete prop not working HOT 1
- Inability to Input Arabic Numerals (٠١٢٣٤٥٦٧٨٩) in react-code-input HOT 1
- Display inline-block to inline-flex
- Up Down Arrows
- Rounded borders around the value with a underlined placeholder
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-code-input.