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

View prop borderStyle: 'dashed' not working #6931

Closed
syedibrahimt opened this issue Jan 22, 2021 · 4 comments
Closed

View prop borderStyle: 'dashed' not working #6931

syedibrahimt opened this issue Jan 22, 2021 · 4 comments
Labels

Comments

@syedibrahimt
Copy link

syedibrahimt commented Jan 22, 2021

Environment

Run the following in your terminal and copy the results here.

  1. npx react-native --version:
  2. npx react-native info:
  • Target Platform Version(s): 10.0.19041.0
  • Target Device(s): Desktop
  • Visual Studio Version: Visual Studio 2019

Steps To Reproduce

Sample code below

<View style={{ width: 400, height: 500, borderRadius: 3, borderColor: '#0093d1', borderWidth: 3, borderStyle: 'dashed' }} />

Expected Results

Border should be in the Dashed format

@ghost ghost added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Jan 22, 2021
@syedibrahimt
Copy link
Author

@stmoy can you please help me with this.

@NickGerleman
Copy link
Collaborator

I believe this is not yet implemented. Related issue: #3078

@syedibrahimt
Copy link
Author

@NickGerleman Any Workaround to achieve dashed border?

@chrisglein
Copy link
Member

There's a comment in #3078 to the Rectangle documentation. You could with the native APIs include a Rectangle (or other Shape) that sets a dashed stroke. Not ideal, but that's the available workaround until #3078 is completed.

Duplicate of #3078. Go ahead and add any more details to that issue.

@ghost ghost removed the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants