Hi, I’ve been generally really impressed with DHMTLX Touch, and have really enjoyed working with it, but there’s one thing that’s been really confusing me.
I have a view structure like so:
multiview
- layout
- layout
- template
and what I’ve found is that I’m unable to get the template view to scroll when the screen is too short to fit its contents. I’ve tried lots of variations of setting the ‘scroll’ attribute at different levels of the view hierarchy, to both ‘true’ and ‘y’, but still haven’t been able to enable scroll in the template view.
There seems to be something special about templates within layouts that can be hard to enable scrolling in - for example, I’ve had other views that wouldn’t scroll a template if it had a manual height specified - whereas removing the height attribute worked.
You can see an example of the current problem at ifringe.com/brighton/ , if you follow these steps with a desktop browser set to a short window height:
- Click Continue
- Click “Shows” icon
- Click “Choose a time”
If your window is short enough, you can truncate the content of this ‘choose a time’ view, and won’t be able to touch-scroll it.
Any idea what I’m doing wrong? What are the conditions that determine whether a given view will be scrollable?
I’ve attempted to read the code, but it’s not very clear to me how the scroll implementation works.
Please help - I’m going crazy trying to figure this out!