Nicholas Arehart

Results 4 comments of Nicholas Arehart

With the default code the linter only ever passes the file location to stylelint. The following fixes that: ``` if(cliLocation){ /// use the CLI, we found it earlier on. var...

Maybe that's because of the way React handles `onClick` handlers. They are also triggered by the `Enter` key. My guess is this uses the `keyup` event under the hood. So...

If I defer rendering of the `onFocus` to the end of the event loop it doesn't trigger the `onClick` handler: https://codesandbox.io/s/divine-flower-jq4rn

I added this to the function that updates the hidden date: if (selectedMonth.toString().length === 1) selectedMonth = "0"+selectedMonth; if (selectedDay.toString().length === 1) selectedDay = "0"+selectedDay;