• name picker and value picker with bootstrap theme - seems not to be responsive

    By Thomas Bernoecker 4 years ago

    For an XPage project I use the Bootstrap3.2.0 theme from extlib version 901v00_13 and some name pickers/value pickers in an XPage. The responsiveness is working well, I use the simpleResponsiveConfiguration of Application Layout control.

    But when opening the picker dialog it seems to have the same size on all screens. If the physical screen width is below x pixels then parts of the dialog are cut off and it is getting difficult or even impossible to select a value.
    Turning the display (e.g. from smartphone) is a possible workaround even if the dialog then might be too high and parts are cut off the upper and lower end.

    Is this behaviour “as designed” or just “missing responsiveness”?
    I played around with the properties listWidth and listHeigth but the only width thats changed is the list field itself..the dialog will stay at the fixed width.
    Does anybody know how to make the picker dialog smaller when rendered for a small display?

    • By B Gleeson 4 years ago

      Indeed the picker dialogs are not responsive. They are basically re-skinned versions of the OneUI picker dialogs, to look Bootstrap-y, but haven't been made into proper responsive pickers yet. If you go to the Extlib github repository, you could log an issue and we can track it there: https://github.com/OpenNTF/XPagesExtensionLibrary/issues. It could then get fixed in a future release of the ExtLib. But I think it would take a fair bit of work, especially given the number of different picker types available, so I couldn't guarantee when it might be worked on. You, or someone else in the community, could even work on them and submit a pull request if you had the time/inclination.

      • By Thomas Bernoecker 4 years ago

        Thanks for explanation. I created a new issue on the github site

        • By jeniffer homes 4 years ago

          It
          could then get fixed in a future release of the ExtLib. But I think it
          would take a fair bit of work, especially given the number of different
          picker types available .

          • By B Gleeson 3 years ago

            The dialogs and pickers when using Bootstrap themes are now fully responsive after being re-worked for release 16 of the 901 Extlib