diff --git a/src/index.js b/src/index.js index 2a9ce67..40d47fe 100644 --- a/src/index.js +++ b/src/index.js @@ -34,6 +34,9 @@ const store = applyMiddleware( userFactory(store) .then(() => { + // allow :active styles in mobile Safary + document.addEventListener("touchstart", () => {}, true); + ReactDOM.render( diff --git a/src/index.scss b/src/index.scss index 77594b2..085f137 100644 --- a/src/index.scss +++ b/src/index.scss @@ -40,3 +40,12 @@ p { margin: 0; list-style: none; } + +input, +textarea, +button, +select, +label, +a { + -webkit-tap-highlight-color: rgba(0,0,0,0); +}