gfranko / jquery.selectBoxIt.js

A jQuery Select Box Plugin for Mobile, Tablet, and Desktop
http://www.selectboxit.com
MIT License
852 stars 301 forks source link

Is there a way to add a class to indicate direction? #318

Open jahvi opened 9 years ago

jahvi commented 9 years ago

I currently need to add specific styles when the custom dropbox opens to the top, right now the plugin only adds the selectboxit-open class regardless of direction, is there an easy way to add it?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8587970-is-there-a-way-to-add-a-class-to-indicate-direction?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github).
ohcibi commented 9 years ago

I have the same problem. I just looked through the code and I think it should happen, in or after _dynamicPositioning(). Workaround is to disable dynamicPositioning.