Forum Stats

  • 3,816,603 Users
  • 2,259,212 Discussions


Off-Canvas View Spanning 100% of View Port

DaveArch Member Posts: 118 Red Ribbon

JET Version: 10.0

Hi Community

The OJ Select Single component has a neat feature when used on a small screen where popping the list causes the list to re-render at the top of the screen and takes up the entire view port. This is a great user experience and we would like to use this technique for one of our own web components.

Is anyone able to share the technique on how this is achieved?

It would also be useful for dialogs where if the view port is small, popping a dialogue would render off-canvas instead of opening the popup.

Any pointers appreciated.