Comments (3)
This is a tricky one. The html input is hidden when substituted. A mousedown on the substituted pixi-text switches the visibility to the html input. however, for the cursor to be set correctly, the input would've had to be visible before that mousedown occured. i'll have check if it's possible to trigger a synthetic copy of that exact mousedown event on the html input, and if that will actually set the cursor position.
from pixi-text-input.
from pixi-text-input.
Well if that's an option for you.
Set input.substituteText = false
Keep in mind placing things above it will not be possible with that setting.
from pixi-text-input.
Related Issues (20)
- Bug : when deleting, onkeydown not fire HOT 3
- 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.