Coder Social home page Coder Social logo

Cursor position in TextArea about zebkit HOT 6 CLOSED

barmalei avatar barmalei commented on July 19, 2024
Cursor position in TextArea

from zebkit.

Comments (6)

barmalei avatar barmalei commented on July 19, 2024

could you provide more information ?
Which browser, OS, font type and zebra version are you using ?

from zebkit.

megastef avatar megastef commented on July 19, 2024

OK, I took latest and copied again latest zebra.json (as I might have changed it yesterday ..). The problem is not on Mac OS X Chrome and Firefox. It remains only in Mac OS X Safari, but I did not check in Chrome and Firefox before I did the post - so I assume it is only in Safari Version 7.0.3 (9537.75.14).

The little project I did to get some experience with Zebra is this one: https://github.com/megastef/crate-conZole

from zebkit.

barmalei avatar barmalei commented on July 19, 2024

Cannot reproduce the problem on safari 6.1.2. Have noticed "canvas" element is wrapped with font element in "index.html" of your project.
Could you try to don't include canvas element inside "font" element section ?
Could you try to set another font ("Arial") for the text field component ?
Thanks for feedback

from zebkit.

megastef avatar megastef commented on July 19, 2024

I removed font tag - no effekt in Safari. Setting Font to Arial is an improvement, but still the distance of cursor and text is ~ 1/2 - 1 character. I will try to find best Safari font :) - guess 12, not bold.
Let me know if you have som debug options that can help. If not, don't worry. I'm happt with Firefox and Chrome.
Hey this 'bug' remembers me on the buggy Java HtmlEditor several years ago - your conversion must be so accurate that it got moved to another platform ...

from zebkit.

megastef avatar megastef commented on July 19, 2024

Good news the error is gone! - I cleaned and deactivated safari cache.

from zebkit.

barmalei avatar barmalei commented on July 19, 2024

Great ! I have recently remembered the problem on IE that occurred one year ago, seems cache cleaning (or IE restart) also helped. Anyway I am installing mavericks virtual machine.

from zebkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.