Giter Club home page Giter Club logo

Comments (4)

JedWatson avatar JedWatson commented on July 24, 2024

Thanks, any idea how to add that without including a .css file in the project?

from react-input-autosize.

velkommen avatar velkommen commented on July 24, 2024

I guess a general css-fix is a bit hacky (and removing native browser functionality is probably not that good)
A better fix would be to find out if the user has the ::-ms-clear / ::-ms-reveal, and calculate the offset. Not sure how though :)

from react-input-autosize.

ksmth avatar ksmth commented on July 24, 2024

There seems to be another issue with the width calculation in some instances. It's certainly not happening on the demo website, but I encountered the issue in a project. In order to make IE behave, I had to add the following style to the sizer:

-ms-overflow-style: -ms-autohiding-scrollbar;

You can see the effects here:
http://codepen.io/anon/pen/oxpdaE?editors=1111

Open the codepen console on the bottom left to see the scrollWidth property of the sizer element logged.

from react-input-autosize.

JedWatson avatar JedWatson commented on July 24, 2024

I think the IE Issues are fixed, if anyone can still reproduce them please open a new issue with details. Thanks!

from react-input-autosize.

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.