Comments (3)
the property input.text
is not update and different from input.htmlInput.value
from pixi-text-input.
If you look at the source code, both things are forwarded directly, input.text is infact input.htmlInput.value, and they keydown event is piped through unconditionally. must be your browser or OS.
from pixi-text-input.
I tested and report all bug on windows chrome.
it probably come from something like that :
https://stackoverflow.com/questions/2353550/how-to-capture-a-backspace-on-the-onkeydown-event/2353562
For peoples looking to a quickfix:
this.latestValue = ''
const onUpdate=() => {
if (this.input.htmlInput.value != this.latest) {
this.onType()
}
requestAnimationFrame ( onUpdate )
}
requestAnimationFrame ( onUpdate )
from pixi-text-input.
Related Issues (20)
- Request : method dispose to clean memory HOT 3
- Bug : inconsistent behavior when using paddingTop HOT 1
- Bug in mobile mode on Chrome desktop when using tab HOT 2
- Bug on iOS, need to click twice on the input to open the keyboard HOT 1
- Set input type HOT 2
- Typings missing
- Duplicate identifier 'substituteText' in ts
- Does not handle type 'password' HOT 3
- Support for Typescript is missing
- Anchor property seems to be missing
- Pixi 6
- Error on adding input textfield to stage
- Input Width HOT 2
- Font size mismatch between focus and default states
- Focus Color
- Wheel Events
- NPM
- PIXI v7 Support HOT 6
- Dragging causes a framerate dip HOT 1
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 pixi-text-input.