We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
onClick
mobile Safari
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event Click just cannot trigger on mobile safari , and it may be changed to touch Event
Event Click
touch Event
and i did some change.
const videoProps = { ref: v => this.video = v, src: typeof this.props.src === 'string' ? this.props.src : null, preload: this.props.preload, poster: this.props.poster, muted: this.props.muted, loop: this.props.loop, + onTouchStart:this.props.onClick, onTimeUpdate: this._handleTimeUpdate, onEnded: this._handleVideoEnd, ...Object.assign(this.props.extraVideoElementProps, { playsInline: this.props.playsInline }) }; return ( <div ref={r => this.container = r} className={`BackgroundVideo ${this.props.className}`} style={Object.assign({ ...absolute100, visibility }, this.props.style)} - onClick={this.props.onClick} + // onClick={this.props.onClick} onKeyPress={this.props.onKeyPress} tabIndex={this.props.tabIndex} >
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Event Click
just cannot trigger on mobile safari , and it may be changed totouch Event
and i did some change.
The text was updated successfully, but these errors were encountered: