]> git.wincent.com - hextrapolate.git/commitdiff
Don't nest select and input inside label
authorGreg Hurrell <greg@hurrell.net>
Wed, 31 May 2017 06:13:57 +0000 (23:13 -0700)
committerGreg Hurrell <greg@hurrell.net>
Wed, 31 May 2017 06:13:57 +0000 (23:13 -0700)
Massively confuses the iPhone.

src/DynamicField.react.js

index 5bd2bf14628a90ca1778012652713dc5143245cd..2ac6c9df39843eb4ad71bc9f4e3f82b4a75894b4 100644 (file)
@@ -41,7 +41,7 @@ export default class DynamicField extends React.Component {
 
   render() {
     return (
-      <label className="hextrapolate-row">
+      <div className="hextrapolate-row">
         <span className="hextrapolate-base">
           <select
             onChange={this._onChange}
@@ -54,7 +54,7 @@ export default class DynamicField extends React.Component {
           onValueChange={this.props.onValueChange}
           value={this.props.value}
         />
-      </label>
+      </div>
     );
   }
 }