changeset 28a995d62951 in sao:5.0
details: https://hg.tryton.org/sao?cmd=changeset;node=28a995d62951
description:
        Allow overflow on navbar collapse for completion.

        issue8125
        review62441002
        (grafted from 0883f4ae98fd8b32c65ccbffb7610da33c35f278)
diffstat:

 src/common.js |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 6fb94274afc3 -r 28a995d62951 src/common.js
--- a/src/common.js     Fri Mar 15 19:02:26 2019 +0100
+++ b/src/common.js     Mon Mar 04 18:48:33 2019 +0100
@@ -3232,15 +3232,18 @@
             // We must set the overflow of the treeview and modal-body
             // containing the input to visible to prevent vertical scrollbar
             // inherited from the auto overflow-x
+            // Idem when in navbar collapse for the overflow-y
             // (see http://www.w3.org/TR/css-overflow-3/#overflow-properties)
             this.dropdown.on('hide.bs.dropdown', function() {
                 this.input.focus();
                 this.input.closest('.treeview').css('overflow', '');
                 this.input.closest('.modal-body').css('overflow', '');
+                this.input.closest('.navbar-collapse.in').css('overflow-y', 
'');
             }.bind(this));
             this.dropdown.on('show.bs.dropdown', function() {
                 this.input.closest('.treeview').css('overflow', 'visible');
                 this.input.closest('.modal-body').css('overflow', 'visible');
+                this.input.closest('.navbar-collapse.in').css('overflow-y', 
'visible');
             }.bind(this));
         },
         set_actions: function(actions, action_activated) {

Reply via email to