We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The document.body offsets should be limits: 1) top, 2) left, 3) left +$(document.body).innerWidth(), 4) top + $(document.body).innerHeight().
document.body
$(document.body).innerWidth()
$(document.body).innerHeight()
Something like I did in here: https://github.com/ajax333221/isepic-chess-ui/blob/e5c02bc7cbc1aa259cc84aa07a52cf985e4e5ebb/js/isepic-chess-ui.js#L133
With and some safty checks the piece could stop trying to go beyond this limits and the scroll bars should not appear.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
document.body
offsets should be limits: 1) top, 2) left, 3) left +$(document.body).innerWidth()
, 4) top +$(document.body).innerHeight()
.Something like I did in here: https://github.com/ajax333221/isepic-chess-ui/blob/e5c02bc7cbc1aa259cc84aa07a52cf985e4e5ebb/js/isepic-chess-ui.js#L133
With and some safty checks the piece could stop trying to go beyond this limits and the scroll bars should not appear.
The text was updated successfully, but these errors were encountered: