Coder Social home page Coder Social logo

Comments (9)

PiTomar avatar PiTomar commented on May 31, 2024 1

Thanks for your fast response.
Now the Items are in the calendar but on my test environment still not on the right place. The day-items seems to big so the new-line-break is at the wrong place. (3 and 4 should be under Saturday/ Sunday)
Or is there any fixed width the calendar must have? (in Chrome it works with any width)

unbenannt

from react-calendar.

lisahoong avatar lisahoong commented on May 31, 2024 1

I am experiencing a similar issue with mobile view in chrome
image

from react-calendar.

PiTomar avatar PiTomar commented on May 31, 2024 1

@nathan-haines Please see issue #45 "Broken layout in Safari mobile". There we currently also discus the IE11 positioning issue.
As temporary workaround, you can try to remove some margins/ paddings of the '.react-calendar button' items.

from react-calendar.

wojtekmaj avatar wojtekmaj commented on May 31, 2024

Hello,
I do support IE11. This might be a bug on our or your side. I'm unable to test it at the moment. I see you're using custom styles, maybe you're missing something like container width?

from react-calendar.

larsnystrom avatar larsnystrom commented on May 31, 2024

The only style I've added is:

.panel-body > .react-calendar {
    border: 0;
    width: 100%;
}

That is to make react-calendar expand to use the entire width of the panel-body (I'm using bootstrap 3) and also to remove the default border.

from react-calendar.

PiTomar avatar PiTomar commented on May 31, 2024

Hello,
I’ve implemented the calendar today in a new project an observed the same behaviour.
In Chrome everything is ok but in IE11 the date-items flow over the calendar borders.
Maybe some bug with the percentage calculation of the flex-basis?

E.g. the Buttons for the day-items have a style "flex-basis: 14.2...%;"
In Chrome this is displayed about 20px and in IE 66px.

Chrome:
chrome
IE:
ie

from react-calendar.

wojtekmaj avatar wojtekmaj commented on May 31, 2024

Hello,
I've been facing some environment issues after switching machines, I'll look into this ASAP.

from react-calendar.

wojtekmaj avatar wojtekmaj commented on May 31, 2024

Thank you for your patience. The issue has been fixed and will be public in incoming version v2.13.2.

from react-calendar.

nathan-haines avatar nathan-haines commented on May 31, 2024

@PiTomar did you ever determine how to fix this? Running into the same issue

from react-calendar.

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.