Display issue on Resource Time Ranges with 'pack' or 'none' eventLayout

Our pure JavaScript Scheduler component


Post Reply
User avatar
Robert Hirst
Premium Member
Premium Member
Posts: 21
Joined: Tue Sep 11, 2018 4:32 pm

Display issue on Resource Time Ranges with 'pack' or 'none' eventLayout

Post by Robert Hirst »

I'm encountering an issue where using eventLayout: 'none' causes any Resource Time Ranges to no longer fill the row.

See example below, default 'stack' config at top of image, and eventLayout: 'none' at the bottom:

resourceTimeRangeIssue.png
resourceTimeRangeIssue.png (93.92 KiB) Viewed 700 times
Current behaviour:

Changing the eventLayout type causes the Resource Time Ranges to become a few pixels tall, with text outside the time range.

Expected behaviour:

The Resource Time Ranges should fill the row for all eventLayout modes.

Steps to reproduce / test case:

Add the following to scheduler-2.0.0\examples\resourcetimeranges\app.js at line 157:

Code: Select all

    eventLayout: 'none',

User avatar
mats
Core Developer
Core Developer
Posts: 17068
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Display issue on Resource Time Ranges with 'pack' or 'none' eventLayout

Post by mats »

Confirmed, ticket opened here: https://app.assembla.com/spaces/bryntum ... 9-/details#

Thanks for the report.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
mats
Core Developer
Core Developer
Posts: 17068
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Display issue on Resource Time Ranges with 'pack' or 'none' eventLayout

Post by mats »

Fixed in our sources
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
Robert Hirst
Premium Member
Premium Member
Posts: 21
Joined: Tue Sep 11, 2018 4:32 pm

Re: Display issue on Resource Time Ranges with 'pack' or 'none' eventLayout

Post by Robert Hirst »

Thanks mats, I'll try it out when the next patch arrives.

Post Reply