openexchangerates / accounting.js

A lightweight JavaScript library for number, money and currency formatting - fully localisable, zero dependencies.
http://openexchangerates.github.io/accounting.js
MIT License
4.95k stars 528 forks source link

Cursor keeps aligning left in editable span with text-align:right #187

Open kevlin79 opened 6 years ago

kevlin79 commented 6 years ago

See issue on this fiddle. Using accounting.js on an input works fine but not on an editable span with text-align:right (input works fine).

https://jsfiddle.net/29kux5yp/1/#