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

Issue with TextInput borderWidth style with decimal value #46801

Open
myckhel opened this issue Oct 3, 2024 · 0 comments
Open

Issue with TextInput borderWidth style with decimal value #46801

myckhel opened this issue Oct 3, 2024 · 0 comments
Labels
Component: TextInput Related to the TextInput component. Needs: Triage 🔍

Comments

@myckhel
Copy link

myckhel commented Oct 3, 2024

Description

Textinput shows grey box at the right when the borderWidth style has a decimal number value

Steps to reproduce

Run the react native app
create a Textinput
set the text input borderWidth style to 0.5
Notice the grey box at the right

React Native Version

0.75.4

Affected Platforms

Runtime - iOS

Output of npx react-native info

info Fetching system and libraries information...
System:
  OS: macOS 13.6.9
  CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  Memory: 867.37 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.10.0
    path: /usr/local/bin/node
  Yarn:
    version: 4.0.2
    path: /usr/local/bin/yarn
  npm:
    version: 10.2.5
    path: /usr/local/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.15.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.0
      - iOS 17.0
      - macOS 14.0
      - tvOS 17.0
      - watchOS 10.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.21829.142.2421.12409432
  Xcode:
    version: 15.0.1/15A507
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 21.0.3
    path: /usr/bin/javac
  Ruby:
    version: 3.3.0
    path: /usr/local/opt/ruby/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: ^18.3.1
  react-native:
    installed: 0.75.4
    wanted: ^0.75.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

None

Reproducer

https://snack.expo.dev/@myckhel/caa155

Screenshots and Videos

Screen.Recording.2024-10-03.at.03.10.56.mov
@react-native-bot react-native-bot added the Component: TextInput Related to the TextInput component. label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: TextInput Related to the TextInput component. Needs: Triage 🔍
Projects
None yet
Development

No branches or pull requests

2 participants