Closed omahlama closed 9 years ago
I'm curious to know what the callback does. Could it be useful for all? Should it be part of the calendar code?
It looks at the offset and size of the .popUpContainer
relative to the window. If either side of the popup is outside the screen, I change the position of the container to keep it inside the screen.
This could possibly be done in a generic way, for now I used a callback to fix the specific case.
Do you think you could do a point release? It would be nice to use a released version in production code instead of pointing bower to master.
In my project, I need to do some custom javascript positioning for the popup, to make sure it fits on the screen. For this I need a hook inside the continuous calendar code.