Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
wizaro
Level 7

DIalog maxHeight issues

How to make the Dialog ButtonGroup as scrollable region when the ButtonGroup height exceeds the Screen height?
The DIalog maxHeight field seems only applied to the Dialog message field.
Using maxHeight at ButtonGroup level "dialog.buttonGroup.maxHeight" doesn't work.
0 Kudos
2 Replies
Roku Employee
Roku Employee

Re: DIalog maxHeight issues

"wizaro" wrote:
How to make the Dialog ButtonGroup as scrollable region when the ButtonGroup height exceeds the Screen height?
The DIalog maxHeight field seems only applied to the Dialog message field.
Using maxHeight at ButtonGroup level "dialog.buttonGroup.maxHeight" doesn't work.

The Dialog class only supports scrolling for the message text, as you have stated.
There is not any support for scrolling the ButtonGroup.
0 Kudos
wizaro
Level 7

Re: DIalog maxHeight issues

"RokuKC" wrote:
"wizaro" wrote:
How to make the Dialog ButtonGroup as scrollable region when the ButtonGroup height exceeds the Screen height?
The DIalog maxHeight field seems only applied to the Dialog message field.
Using maxHeight at ButtonGroup level "dialog.buttonGroup.maxHeight" doesn't work.

The Dialog class only supports scrolling for the message text, as you have stated.
There is not any support for scrolling the ButtonGroup.

I see that currently Dialog only support list of buttons, and as you have confirmed they can not be scrollable.
Do you have any plans to add that scrolling support in the future, or add support to any other groups, like for example a LabelGroup?
In that case the DIalog can be really useful for not only a confirmation feature, but also some other functionality, like for example choosing and updating values, instead of using the keyboard dialog.

And one more question. I can make a custom group dialog component, but is there a way to make a content behind it disabled like the real dialog does? Thanks
0 Kudos