qsm-odoo
43ccc78554
[FIX] website: update modal scrolling behavior after image loading
...
With commit [1] (and the parent commit here which reviews it), we
move the scrollbar to the modal instead of the website content if the
modal has scrollable content even in the case there is no backdrop. An
exemple would be the cookie bar, configured in popup mode, with a tall
content inside.
This was however not enough: the computation which determines if the
modal should be scrollable or not was not re-done after an image was
loaded. So if the popup was around the height of the window, it could be
smaller than the window's height before images loading and taller after
which would result in having the scrollbar on the body instead of the
scrollable popup.
[1]: https://github.com/odoo/odoo/commit/8f1dd6d6087ad8252d6e7b22d13aad2c4a3f19c6
closes odoo/odoo#84139
X-original-commit: b83b465dd98345afeca3844a4796e4a83d15f72b
Signed-off-by: Romain Derie (rde) <rde@odoo.com >
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com >
2022-02-08 00:07:22 +00:00
..
2022-02-07 09:06:56 +00:00
2022-02-03 09:03:13 +00:00
2022-02-04 13:06:58 +00:00
2022-01-05 11:36:06 +00:00
2022-01-31 10:07:34 +00:00
2022-02-01 09:54:08 +00:00
2022-01-10 19:28:36 +00:00
2021-12-08 16:28:53 +00:00
2022-01-28 14:10:01 +00:00
2021-11-23 11:12:14 +00:00
2022-01-28 14:10:01 +00:00
2022-02-01 09:54:08 +00:00
2021-11-26 09:44:58 +00:00
2022-01-31 17:47:34 +00:00
2022-02-01 17:15:30 +00:00
2021-11-22 14:48:04 +00:00
2022-02-01 17:15:30 +00:00
2022-02-07 14:18:00 +00:00
2022-02-07 14:17:59 +00:00
2022-01-25 17:21:04 +00:00
2022-01-20 11:03:01 +00:00
2021-12-07 13:48:53 +00:00
2022-01-22 14:13:41 +00:00
2021-12-14 12:39:54 +00:00
2021-12-07 13:48:53 +00:00
2021-12-13 12:24:50 +00:00
2022-01-20 11:03:01 +00:00
2022-02-04 13:06:54 +00:00
2021-12-16 09:00:19 +00:00
2022-01-28 18:58:44 +00:00
2022-02-04 09:28:12 +00:00
2022-01-21 15:03:57 +00:00
2022-01-28 14:10:01 +00:00
2021-12-15 00:10:51 +00:00
2021-12-14 12:39:54 +00:00
2022-02-04 14:03:41 +00:00
2021-12-02 12:12:01 +01:00
2022-02-02 11:46:52 +00:00
2021-12-08 09:35:03 +00:00
2022-01-28 14:10:01 +00:00
2021-12-16 17:33:47 +00:00
2022-02-01 15:32:26 +00:00
2021-12-24 14:57:02 +00:00
2022-01-19 16:52:23 +00:00
2021-12-16 17:33:47 +00:00
2022-02-01 15:32:16 +00:00
2022-02-01 15:32:16 +00:00
2022-01-13 09:30:56 +00:00
2022-01-19 16:52:23 +00:00
2022-01-27 09:12:50 +00:00
2022-02-02 18:14:54 +00:00
2022-02-01 15:32:16 +00:00
2021-11-22 14:48:04 +00:00
2022-01-12 08:33:00 +00:00
2022-02-03 08:09:31 +00:00
2022-01-31 08:14:50 +00:00
2022-02-07 19:03:42 +00:00
2022-02-04 10:23:43 +00:00
2022-01-20 16:08:22 +00:00
2022-02-07 14:18:18 +00:00
2021-12-07 13:48:53 +00:00
2021-12-14 19:13:18 +00:00
2021-12-09 16:14:43 +00:00
2021-12-07 13:48:53 +00:00
2022-01-31 17:47:30 +00:00
2021-12-25 02:26:44 +00:00
2021-12-20 07:55:41 +00:00
2021-12-15 12:07:26 +00:00
2022-01-31 19:25:47 +00:00
2022-01-03 18:11:19 +00:00
2022-01-26 15:59:03 +00:00
2022-02-02 18:14:54 +00:00
2022-02-03 08:09:31 +00:00
2021-12-14 12:39:54 +00:00
2022-02-01 09:54:08 +00:00
2022-01-21 15:03:57 +00:00
2022-02-03 15:21:55 +00:00
2021-11-25 00:31:17 +00:00
2021-12-08 11:17:22 +00:00
2022-01-31 15:33:41 +00:00
2021-11-25 00:31:17 +00:00
2022-01-27 16:17:10 +00:00
2022-01-13 14:35:57 +00:00
2022-01-18 08:18:06 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2022-02-04 19:44:38 +00:00
2022-01-28 14:10:01 +00:00
2022-02-03 15:21:28 +00:00
2022-01-25 17:21:04 +00:00
2022-01-25 17:21:04 +00:00
2022-01-27 21:50:25 +00:00
2022-02-03 15:21:28 +00:00
2021-11-25 00:31:17 +00:00
2021-12-18 21:00:49 +00:00
2022-02-04 18:48:45 +00:00
2021-11-25 00:31:17 +00:00
2022-01-18 16:17:43 +00:00
2022-01-31 13:57:55 +00:00
2022-02-01 09:54:08 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2022-01-31 13:58:03 +00:00
2022-02-01 09:54:21 +00:00
2022-01-27 21:50:25 +00:00
2021-12-17 21:59:10 +00:00
2022-01-11 13:34:56 +00:00
2021-11-25 00:31:17 +00:00
2022-02-03 15:21:28 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2022-01-18 11:02:02 +00:00
2022-01-27 21:50:25 +00:00
2021-12-14 14:47:25 +00:00
2021-11-25 00:31:17 +00:00
2022-01-31 10:07:26 +00:00
2022-01-20 22:05:06 +00:00
2022-01-14 14:49:57 +00:00
2021-11-25 00:31:17 +00:00
2022-01-28 14:10:01 +00:00
2022-01-28 14:10:01 +00:00
2022-01-25 19:06:59 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2022-01-12 10:17:47 +00:00
2022-01-25 19:07:03 +00:00
2022-01-25 17:21:04 +00:00
2021-12-14 10:00:41 +00:00
2021-11-25 00:31:17 +00:00
2021-11-22 14:48:04 +00:00
2021-11-25 00:31:17 +00:00
2022-01-25 17:21:04 +00:00
2021-12-22 00:12:52 +00:00
2022-02-03 15:21:28 +00:00
2022-01-25 15:41:17 +00:00
2022-02-03 15:21:28 +00:00
2021-11-25 00:31:17 +00:00
2022-01-05 23:05:43 +00:00
2022-01-27 21:50:25 +00:00
2022-01-21 11:25:59 +00:00
2021-11-25 00:31:17 +00:00
2022-02-03 15:21:28 +00:00
2022-02-03 15:21:28 +00:00
2021-11-25 00:31:17 +00:00
2022-01-25 18:14:59 +00:00
2022-02-03 15:21:28 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-12-14 09:11:15 +00:00
2022-01-11 16:18:54 +00:00
2022-02-07 19:04:03 +00:00
2021-12-15 00:10:51 +00:00
2021-12-21 09:49:38 +00:00
2022-01-31 17:47:30 +00:00
2021-12-14 19:13:18 +00:00
2022-02-02 09:03:44 +00:00
2022-02-07 08:08:48 +00:00
2021-12-07 13:48:53 +00:00
2022-01-06 11:45:23 +00:00
2022-01-28 14:10:01 +00:00
2022-01-17 08:38:45 +00:00
2022-02-03 15:21:35 +00:00
2022-01-19 16:03:53 +00:00
2021-12-07 16:20:05 +00:00
2022-01-11 15:24:11 +00:00
2022-02-01 18:06:50 +00:00
2021-12-07 16:20:05 +00:00
2021-12-07 16:20:06 +00:00
2021-12-07 16:20:06 +00:00
2022-02-07 19:03:43 +00:00
2022-02-01 09:54:08 +00:00
2022-02-07 16:22:54 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2022-02-07 16:22:54 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2022-02-07 15:24:59 +00:00
2022-01-31 17:47:34 +00:00
2021-11-22 14:48:04 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-02-04 15:26:37 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-01-31 13:58:10 +00:00
2022-01-27 21:50:25 +00:00
2022-02-03 13:23:43 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-02-07 15:24:49 +00:00
2022-01-31 12:06:05 +00:00
2022-01-19 16:52:23 +00:00
2022-02-04 22:38:57 +00:00
2022-01-04 17:03:10 +00:00
2021-12-14 12:39:54 +00:00
2022-01-04 17:03:10 +00:00
2022-01-04 17:03:10 +00:00
2021-12-14 19:13:18 +00:00
2022-02-02 09:03:44 +00:00
2022-01-10 14:49:52 +00:00
2021-11-24 16:33:01 +00:00
2022-02-02 09:03:44 +00:00
2022-02-07 15:25:07 +00:00
2022-01-05 13:58:01 +01:00
2022-01-28 14:10:01 +00:00
2022-02-01 14:37:37 +00:00
2022-02-07 17:16:02 +00:00
2022-02-07 11:19:44 +00:00
2021-12-14 14:47:25 +00:00
2022-02-04 10:23:43 +00:00
2021-12-02 12:12:03 +01:00
2022-02-04 07:18:51 +00:00
2021-12-02 12:12:03 +01:00
2022-02-07 16:22:54 +00:00
2021-12-23 15:30:23 +01:00
2021-12-02 12:12:03 +01:00
2022-01-31 19:25:47 +00:00
2021-11-23 11:12:14 +00:00
2022-01-28 14:10:01 +00:00
2022-01-14 17:29:35 +00:00
2022-02-07 16:22:54 +00:00
2022-02-02 21:49:05 +00:00
2021-11-29 14:55:35 +00:00
2022-02-01 14:37:54 +00:00
2022-02-01 18:07:02 +00:00
2022-02-02 19:50:45 +00:00
2022-02-04 17:56:43 +00:00
2022-02-03 09:56:03 +00:00
2021-12-07 16:20:06 +00:00
2021-12-14 19:13:18 +00:00
2022-02-02 11:46:53 +00:00
2022-02-02 09:03:44 +00:00
2022-01-19 16:52:23 +00:00
2022-02-02 18:14:54 +00:00
2022-02-02 18:14:54 +00:00
2022-02-02 18:14:54 +00:00
2022-02-02 18:14:54 +00:00
2022-02-02 18:14:54 +00:00
2022-01-20 15:11:50 +00:00
2022-01-17 16:56:01 +00:00
2021-11-30 15:21:47 +00:00
2022-01-17 06:42:47 +00:00
2022-01-31 12:06:04 +00:00
2022-01-20 10:06:47 +00:00
2022-02-07 19:04:00 +00:00
2022-02-08 00:07:22 +00:00
2022-01-31 23:51:00 +00:00
2022-01-22 11:51:42 +00:00
2022-02-08 00:07:22 +00:00
2022-01-31 23:51:00 +00:00
2021-12-07 13:48:53 +00:00
2022-02-01 09:54:08 +00:00
2022-01-31 17:47:32 +00:00
2022-02-07 23:11:51 +00:00
2021-12-07 13:48:53 +00:00
2021-12-07 13:48:53 +00:00
2022-01-10 13:52:27 +00:00
2022-01-10 13:52:27 +00:00
2021-12-16 17:33:48 +00:00
2022-02-07 15:24:54 +00:00
2022-01-22 11:51:42 +00:00
2021-12-07 13:48:53 +00:00
2022-02-02 18:14:54 +00:00
2022-01-28 16:09:26 +00:00
2021-12-20 19:16:55 +00:00
2021-12-17 12:51:49 +00:00
2022-01-22 11:51:42 +00:00
2022-02-02 18:14:54 +00:00
2021-12-07 13:48:53 +00:00
2021-11-25 13:28:51 +00:00
2021-12-17 12:51:49 +00:00
2021-12-02 12:12:01 +01:00
2022-01-28 11:27:42 +00:00
2021-12-07 13:48:53 +00:00
2022-02-02 09:03:44 +00:00
2021-12-23 15:30:23 +01:00
2021-12-07 13:48:53 +00:00
2022-02-03 15:22:05 +00:00
2021-12-07 13:48:53 +00:00
2021-12-14 19:13:18 +00:00
2021-12-14 19:13:18 +00:00