diff --git a/src/apis/StyleSheet/css.js b/src/apis/StyleSheet/css.js index a4fafb84..326913a7 100644 --- a/src/apis/StyleSheet/css.js +++ b/src/apis/StyleSheet/css.js @@ -11,7 +11,9 @@ const CSS_RESET = 'html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}\n' + 'body{margin:0}\n' + 'button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}\n' + -'input::-webkit-inner-spin-button,input::-webkit-outer-spin-button,input::-webkit-search-cancel-button,input::-webkit-search-decoration {display:none}'; +'input::-webkit-inner-spin-button,input::-webkit-outer-spin-button,' + +'input::-webkit-search-cancel-button,input::-webkit-search-decoration,' + +'input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none}'; const CSS_HELPERS = // vendor prefix 'display:flex' until React supports fallback values for inline styles diff --git a/src/components/Image/index.js b/src/components/Image/index.js index ff2d0776..eaa4f742 100644 --- a/src/components/Image/index.js +++ b/src/components/Image/index.js @@ -49,9 +49,9 @@ class Image extends Component { constructor(props, context) { super(props, context); + this.state = { isLoaded: false }; const uri = resolveAssetSource(props.source); this._imageState = uri ? STATUS_PENDING : STATUS_IDLE; - this.state = { isLoaded: false }; } componentDidMount() { diff --git a/src/components/Text/index.js b/src/components/Text/index.js index 1e9d3b0f..bdfe1d63 100644 --- a/src/components/Text/index.js +++ b/src/components/Text/index.js @@ -55,6 +55,7 @@ class Text extends Component { const styles = StyleSheet.create({ initial: { + borderWidth: 0, color: 'inherit', display: 'inline', font: 'inherit',