diff options
| author | Joren Van Onder <jov@odoo.com> | 2017-01-21 20:25:46 -0800 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2017-01-23 12:09:27 -0800 |
| commit | f0eeed93dc5e8ee8eeb92864c75293de6c082fff (patch) | |
| tree | 85e1177320cf42ac51ac032b3def6292fc6aab8e /addons/web/static/lib/jquery.mjs.nestedSortable | |
| parent | cb597806ec54d2dd65867ceb4e68cd055a10a02c (diff) | |
[FIX] point_of_sale: scroll contact list in Firefox and Edge
The POS uses tables to do some of it's layout. It also sets 'height:
100%' on a lot of these tables in an attempt to restrict their
height. The CSS standard however defines the height property on a table
as follows:
"A value of 'auto' means that the height is the sum of the row heights
plus any cell spacing or borders. Any other value is treated as a
minimum height." [1]
Chrome and Safari seems to handle this height property in a way that it
does in fact restrict height. The behavior of Firefox and Edge however
is more in line with the spec, and in these browsers table height is not
restricted by this property.
Because of this the contact list was not scrolleable in those
browsers. To resolve this we stop relying on non-standard behavior by
displaying the relevant contact list elements as regular block
elements. Additionally, we now have to recompute the height of the
client list whenever we show/hide the client details, something that
wasn't necessary before.
[1] https://www.w3.org/TR/CSS21/tables.html#height-layout
Fixes #11020
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
