Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

It should be possible to have a scrollbar on the content of the scheduler #2

Open
Zallist opened this issue Jun 7, 2013 · 3 comments
Assignees

Comments

@Zallist
Copy link
Owner

Zallist commented Jun 7, 2013

The calendar should be split into two parts, a "header" section and a "content" section. The content section should then be scrollable if requested, so that many sections can be displayed at once while still being able to see the headers for the times.

@ghost ghost assigned Zallist Jun 7, 2013
@Zallist
Copy link
Owner Author

Zallist commented Jun 8, 2013

I've started the work on this, and it should be as simple as the following:

If a MaxHeight is given, we should set the overflow to scroll on the ContentWrap and the "max-height" property to what's given. We then need some way of determining the scrollbar size and adding that as a margin-right offset to the ContentHeaderWrap.

@ChristophWeigert
Copy link
Contributor

Any news on this feature?

@Zallist
Copy link
Owner Author

Zallist commented Jan 30, 2014

I've been busy with some other projects and haven't had time to work on the Time Scheduler. This should be a simple fix, but the issue is making it work with older versions of IE (which don't support any direct method of getting a scrollbar's size).
If you need this for some functionality, it should be about 10 minutes to fix for newer browsers by following what I said in the above comment, and to get the scrollbar width (for an offset, margin-right: -XXpx) you need to generate an element with a fixed size, overflow of auto, then generate another element within it with a larger height. This will make a scrollbar appear. You then Compare the innerWidth of the element before the child was placed inside, and the innerWidth after the child was placed inside.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants