Skip to content
New issue

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

drag problem #34

Closed
edwardfxiao opened this issue Apr 11, 2017 · 0 comments
Closed

drag problem #34

edwardfxiao opened this issue Apr 11, 2017 · 0 comments
Labels

Comments

@edwardfxiao
Copy link

          <div style={{'height':'2000px'}}></div>
          <TimePicker
            onFocusChange={this.onFocusChange.bind(this)}
            onHourChange={this.onHourChange.bind(this)}
            onMinuteChange={this.onMinuteChange.bind(this)}
            onTimeChange={this.onTimeChange.bind(this)}
            onTimeQuantumChange={this.onTimeQuantumChange.bind(this)}
          />

If I do the code above, dragging became really hard.
That's because you are not updating the this.originX and this.originY after browser scrolled automatically.
The problem is more obvious on Safari and IE than chrome.

@ecmadao ecmadao closed this as completed Apr 12, 2017
@ecmadao ecmadao added the bug label Apr 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants