New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datepicker orientation mix up - top = bottom and bottom = top #1406

monkeylumps opened this Issue May 21, 2015 · 4 comments


None yet
4 participants

monkeylumps commented May 21, 2015

I tried to set the orientation of my datepick so that it always goes above the field like so -

language: "en-GB",
orientation: "top auto"

This did not work, the datepicker would always show up on the bottom until I changed the code to this -

language: "en-GB",
orientation: "bottom auto"


This comment has been minimized.

ghost commented May 27, 2015

I have the same behaviour, I put "bottom auto" in the orientation option but it goes always to top.
format: 'dd/mm/yyyy',
autoclose: true,
language: 'fr',
orientation: 'bottom auto',
todayBtn: 'linked',
todayHighlight: true


This comment has been minimized.

robertlagrant commented Jun 4, 2015

OH! Wow, okay. Problem "solved" :)


This comment has been minimized.

elartix commented Jun 11, 2015

I have the same problem.


bootstrap 3.x inline form + input-daterange

    format: '',
    language: 'ru',
    autoclose: true,
    startDate: new Date(),
    setDate: new Date(),
    todayHighlight: true,
    orientation: "bottom auto"
<div class="row">
    <div class="col-md-12">
        <form class="filter-form form-inline input-daterange">
            <div class="form-group">
                <label for="dateFrom">Период</label>
                <input type="text" class="form-control datepicker" id="date1From" placeholder="с 4 мая 2014" data-provide="datepicker" />
            <div class="form-group">
                <input type="text" class="form-control datepicker" id="to1Date" placeholder="по 11 сентября 2015" data-provide="datepicker" />

with orientation: "top auto" same issue


This comment has been minimized.


Azaret commented Jun 16, 2015

Actually top does open the picker at the bottom and bottom at the top.
Not sure it was intended, but we can agree this is confusing.

Azaret added a commit to Azaret/bootstrap-datepicker that referenced this issue Jun 16, 2015

@Azaret Azaret referenced this issue Jun 16, 2015


Fix #1406 #1430

@hebbet hebbet closed this in #1430 Jun 16, 2015

@acrobat acrobat referenced this issue Jun 16, 2015


Release 1.5.0 #1294

2 of 2 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment