Comments (4)
That certainly feels like it could be an improvement over the current behavior. How does the following implementation feel to you?
https://autogrow--box-line-text.netlify.app/
from box-line-text.
that's it!
I was wondering if it could be the same for width, but of course you have to make a choice between fixed height or fixed width!
There is always the case when a long word makes the text exceed the width of the box... but here.... don't know what could be the best solution to that!
from box-line-text.
Great! That's a good point about long words. I've pushed another change to expand the width to fit the longest word and still grow the height to fit the full height of the text.
from box-line-text.
Awesome!
from box-line-text.
Related Issues (11)
- Floating text - Double size, quad size, vertical HOT 4
- Auto-alignement helper HOT 1
- Add MacOS mode using Cmd instead of Ctrl
- Delete or backspace in an empty element should delete it
- Hand drawn effects HOT 3
- Persist data HOT 8
- Normalize text content across browsers
- Drag and drop HOT 7
- Add line-break at Enter key press in Box? HOT 5
- Text superposition HOT 2
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 box-line-text.