Comments (2)
Yeah I had noticed that long ago and never got around to thinking through a solution. I like your idea of limiting where this browser prevention is initiated; I will see if I can get around to it soon - not for the next few weeks realistically tbh (or feel free to open a PR if you like!)
from gchessboard.
The current behavior is actually done at a CSS level by using user-action
and touch-action
here. Moving this to within the JS code makes more sense and will allow more granular control.
from gchessboard.
Related Issues (19)
- Add polyfill for aspect-ratio HOT 1
- Handle resize correctly for Safari HOT 1
- Initial release feature checklist
- Use Hungarian algorithm to find piece "moves" between two positions
- Use translate instead of absolute positioning for animating chess pieces HOT 1
- Export typings
- Hover does not trigger on Safari when dragging piece HOT 1
- Rudimentary markers support
- Advanced test cases
- Drag does not complete on mobile
- Add endMove() method
- Export types from declarations file HOT 1
- Premoves HOT 1
- Add functionality for piece creation using drag-and-drop
- Add ability to draw arrows interactively
- Add sensible default color configurations
- Experiment with specifying arrows as nested web components
- Add ability to highlight specific fields by changing the background color HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gchessboard.