You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2020. It is now read-only.
Per the wiki I've modified the dc-redux pan responder like so:
// also modified value of pan(value) to be {x:0,y:0}
panListener(value) {
let {
leftOpen,
rightOpen,
scroll,
} = this.state;
var moveX = Math.abs(value.x) > Math.abs(value.y);
if (this.props.scroll) {
if (moveX) this.props.scroll(false);
else this.props.scroll(true);
}
but now the UI is super draggy. Any other solutions?
The text was updated successfully, but these errors were encountered:
Per the wiki I've modified the
dc-redux
pan responder like so:but now the UI is super draggy. Any other solutions?
The text was updated successfully, but these errors were encountered: