Giter VIP home page Giter VIP logo

Comments (5)

alidehghan avatar alidehghan commented on August 27, 2024 5

I think it would be so good if you can provide a prop on size (e.g. xs, md, lg based on bootstrap standards, or even exact size: 12, 24, 36, etc.) to provide a better look at mobiles, or when this control placed at top of the page and calendar drops up (and part of control hides. like at screenshot). this issue occurs even in screens (not only mobiles).

Many thanks

from react-datepicker2.

mberneti avatar mberneti commented on August 27, 2024 1

@alidehghan
It is a good idea, I'll work on it over the weekend.

from react-datepicker2.

alidehghan avatar alidehghan commented on August 27, 2024

I guess it is related to tether config

from react-datepicker2.

mberneti avatar mberneti commented on August 27, 2024

@alidehghan I think so.
I think managing the keyboard display on mobile screens is the first step.

from react-datepicker2.

mashouf avatar mashouf commented on August 27, 2024

Hi, I still face some issue with the tether element falls out of the window even in desktop mode.
https://pasteboard.co/JCBXGQF.png
I look at some of the code and tether document and I check out the constraint property of tether component with attachment defined as together

Constraints allow you to control what happens when the tethered element would have to fall outside of a defined region to maintain the attachment.

You might want to allow the element to change its attachment, if doing so would keep more of it within its assigned region

By adding the pin option as true we can have the element more visible than going off-screen like this, I see this problem a lot in my new project cause I have many date inputs, at least I suggest adding this as an option.
bitwise I can add this as a pull request.

from react-datepicker2.

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.