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

Orientation attribute not working #1035

Closed
PrimozRome opened this Issue Aug 13, 2014 · 11 comments

Comments

Projects
None yet
10 participants
@PrimozRome

PrimozRome commented Aug 13, 2014

I am trying to set up orientation attribute but it is ignored and placement is always default. Tried data-date-orientation="bottom auto" and data-orientation="bottom auto" and none of these is working.

@PrimozRome PrimozRome changed the title from Orientation via data- attributes not working to Orientation attribute not working Aug 13, 2014

@MatrixZ

This comment has been minimized.

Show comment
Hide comment
@MatrixZ

MatrixZ Sep 3, 2014

You can set up orientation to datepicker using data-date-orientation attribute. Please refer this jsbin example.

MatrixZ commented Sep 3, 2014

You can set up orientation to datepicker using data-date-orientation attribute. Please refer this jsbin example.

@PrimozRome

This comment has been minimized.

Show comment
Hide comment
@PrimozRome

PrimozRome Sep 3, 2014

Thanks, not sure why this wasn't working for me. Will try figure out.

PrimozRome commented Sep 3, 2014

Thanks, not sure why this wasn't working for me. Will try figure out.

@philfreo

This comment has been minimized.

Show comment
Hide comment
@philfreo

philfreo Oct 29, 2014

The bottom auto orientation seems to not work in the demo either:

http://eternicode.github.io/bootstrap-datepicker/?markup=input&format=&weekStart=&startDate=&endDate=&startView=0&minViewMode=0&todayBtn=false&language=en&orientation=bottom+auto&multidate=&multidateSeparator=&keyboardNavigation=on&forceParse=on#sandbox

Or, perhaps the top auto doesn't. But they both do the same thing for me and I'm assuming they shouldn't.

Some other orientations do.

philfreo commented Oct 29, 2014

The bottom auto orientation seems to not work in the demo either:

http://eternicode.github.io/bootstrap-datepicker/?markup=input&format=&weekStart=&startDate=&endDate=&startView=0&minViewMode=0&todayBtn=false&language=en&orientation=bottom+auto&multidate=&multidateSeparator=&keyboardNavigation=on&forceParse=on#sandbox

Or, perhaps the top auto doesn't. But they both do the same thing for me and I'm assuming they shouldn't.

Some other orientations do.

@nestordeharo

This comment has been minimized.

Show comment
Hide comment
@nestordeharo

nestordeharo Apr 19, 2015

Not working for me neither, when i put orientation top auto it put in the inverse form

nestordeharo commented Apr 19, 2015

Not working for me neither, when i put orientation top auto it put in the inverse form

@kshipp

This comment has been minimized.

Show comment
Hide comment
@kshipp

kshipp May 8, 2015

(bottom) Not working for me either.
It's backwards! "Bottom" really means "top". Please, please fix this.

kshipp commented May 8, 2015

(bottom) Not working for me either.
It's backwards! "Bottom" really means "top". Please, please fix this.

@timothyandrew

This comment has been minimized.

Show comment
Hide comment
@timothyandrew

timothyandrew May 17, 2015

This still seems to be broken in the demo.

timothyandrew commented May 17, 2015

This still seems to be broken in the demo.

@Geckomind

This comment has been minimized.

Show comment
Hide comment
@Geckomind

Geckomind Jun 25, 2015

Same as @kshipp, the orientation it's backwards. Or at least the documentation it's not clear enough to denote this is the default behaviour.

Geckomind commented Jun 25, 2015

Same as @kshipp, the orientation it's backwards. Or at least the documentation it's not clear enough to denote this is the default behaviour.

@dreamweiver

This comment has been minimized.

Show comment
Hide comment
@dreamweiver

dreamweiver Jul 1, 2015

Its been a while, there has been no update on this issue. anyway thanks @kshipp ,it was a tricky thing to be identified.

dreamweiver commented Jul 1, 2015

Its been a while, there has been no update on this issue. anyway thanks @kshipp ,it was a tricky thing to be identified.

@kshipp

This comment has been minimized.

Show comment
Hide comment
@kshipp

kshipp Jul 2, 2015

You're welcome. Sometimes the easy things are the hardest to find.

kshipp commented Jul 2, 2015

You're welcome. Sometimes the easy things are the hardest to find.

@joarobles

This comment has been minimized.

Show comment
Hide comment
@joarobles

joarobles Aug 31, 2015

Even though I read the docs and it states:

“orientation” refers to the location of the picker popup’s “anchor”; you can also think of it as the location of the trigger element (input, component, etc) relative to the picker.

I think that orientation of the displayed calendar instead of the anchor would be more natural

joarobles commented Aug 31, 2015

Even though I read the docs and it states:

“orientation” refers to the location of the picker popup’s “anchor”; you can also think of it as the location of the trigger element (input, component, etc) relative to the picker.

I think that orientation of the displayed calendar instead of the anchor would be more natural

This was referenced Sep 13, 2015

@hebbet

This comment has been minimized.

Show comment
Hide comment
@hebbet

hebbet Sep 13, 2015

Contributor

seems to be fixed with f08ad04, closing.

Contributor

hebbet commented Sep 13, 2015

seems to be fixed with f08ad04, closing.

@hebbet hebbet closed this Sep 13, 2015

@acrobat acrobat referenced this issue Sep 13, 2015

Closed

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