Skip to content

Resize handler for textarea or any given element. Supports Internet Explorer, Edge, Firefox, Chrome, Safari etc. Demo:

License

Notifications You must be signed in to change notification settings

CezaryDanielNowak/css-resize-polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS Resize Polyfill

Resize handler for textarea or any given element. Supports Internet Explorer, Edge, Firefox, Chrome, Safari etc.

Browser support

link to CanIUse

Preview

Edge Preview

How to use it

React integration

It's trivial to integrate with react:

import resizePolyfill from 'resize-polyfill';

class MyComponent {
  render (
    <textarea ref={(el) => {
      if (el) {
        resizePolyfill(el, true);
      }
    }}>
    
    </textarea>
  )
}

Why CSS Resize Polyfill is the best

About

Resize handler for textarea or any given element. Supports Internet Explorer, Edge, Firefox, Chrome, Safari etc. Demo:

Resources

License

Stars

Watchers

Forks

Packages

No packages published