-
Notifications
You must be signed in to change notification settings - Fork 57
Wrong arrow orientation/position #78
Comments
Same Issue when I try to use this inside bootstrap modal where also top is set to 0 instead of that particular input position top . Any fix to this would be great to continue using this plugin. Thanks 👍 |
I also encountered this problem. |
I have the same issue |
1 similar comment
I have the same issue |
I have the same issue, I don't have a solution to correct that arrow direction, I just remove it by removing below-shown codes from the .css file, waiting for a final solution from others: |
@machinefriendly I have the same issue and remove the arrow as well. There is an easier way to achieve this without the need to modify the original CSS-file. Just add the following CSS and the arrow shouldn't be displayed anymore:
|
I found a way to fix it without the need to modify any css. The following JS modifies the classes once the datepicker is shown:
|
I noticed this behavior when I updated my installation of Bootstrap Datepicker. I updated the .js file but forgot to also update the .css file. I had wrong arrow. Once I updated also the css file to latest version, my arrows work correctly now. |
The same issue, I fixed with this css
|
Cross-browser and for top orientation: .datepicker-dropdown.datepicker-orient-bottom:before, |
Seems the arrow is pointing in the wrong direction. This happens whether orientation is set to
auto
or to something explicitly:Html output:

Now, if I manually edit this html in dev tools, and change
datepicker-orient-bottom
todatepicker-orient-top
, the arrow points in the correct direction:Setting the orientation explicitly to
top left
in my code, yields unwanted results, though:The text was updated successfully, but these errors were encountered: