palmerhq / radio-group Goto Github PK
View Code? Open in Web Editor NEW845 byte WAI-ARIA 1.1 compliant radio group React component
Home Page: https://codesandbox.io/embed/qxxnwzvy0w
License: MIT License
845 byte WAI-ARIA 1.1 compliant radio group React component
Home Page: https://codesandbox.io/embed/qxxnwzvy0w
License: MIT License
If you don't default something to selected you can't tab to the component.
The demo has autoFocus={true}, but if you change it to 'false' everything breaks. This is fairly unintuitive, and costly if you dont realize that that was the cause (my case)
https://codesandbox.io/s/radio-group-demo-forked-s8c6s?file=/src/index.js
Possibly because of the ref.current.focus()
Line 87 in b73ec30
When using with typescript, types cannot be found, even they exist in dist/index.d.ts
file
Sorry if this is obvious, but i got a little stuck trying to branch and debug the project the other day, and will need to be able to fix bugs for our project, in case they arise. (currently having issues with focus)
Can someone please update a little in the readme on the process for running/testing code locally. I had issues trying to npm link the local repo into our project, as it threw errors. I tried to push to github and npm i from my branched github a version that merged all the other changes (before they were kindly merged) - and this also didnt work. Maybe the build for npm is different to what gets run when the package is pulled/installed?
I am thinking that i might need to npm link, then just include explicitly the .ts file from node_modules and make an exception on that to have it run the custom code in the project. But this means that my project is build it rather than this project. Which isnt ideal.
Im interested on the flows that people use, and any info added to the readme would be great!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.