Skip to content

Conversation

@nicoe
Copy link
Collaborator

@nicoe nicoe commented Feb 26, 2025

This one is a complicated beast:

- having defined an `overflow-x: auto` in CSS on modal-body make it a new Block Formatting Context
- Block Formatting Context contains their floating elements
- This is why although the ul menu is in the same stacking context than the modal footer, the menu does not appear above it.
- Thus setting the `overflow` property will also reset the `overflow-x` property and since the value is `visible` it does not create a new Block Formatting Context, ensuring the `z-index` take effect.

Fix PCLAS-1506

This one is a complicated beast:

    - having defined an `overflow-x: auto` in CSS on modal-body make it
      a new Block Formatting Context
    - Block Formatting Context contains their floating elements
    - This is why although the ul menu is in the same stacking context
      than the modal footer, the menu does not appear above it.
    - Thus setting the `overflow` property will also reset the
      `overflow-x` property and since the value is `visible` it does not
      create a new Block Formatting Context, ensuring the `z-index` take
      effect.

Fix PCLAS-1506
@nicoe nicoe requested a review from JCavallo February 26, 2025 19:16
@nicoe nicoe merged commit 4b1b5f6 into coopengo:master Mar 13, 2025
1 check passed
nicoe added a commit that referenced this pull request Mar 13, 2025
This one is a complicated beast:

    - having defined an `overflow-x: auto` in CSS on modal-body make it
      a new Block Formatting Context
    - Block Formatting Context contains their floating elements
    - This is why although the ul menu is in the same stacking context
      than the modal footer, the menu does not appear above it.
    - Thus setting the `overflow` property will also reset the
      `overflow-x` property and since the value is `visible` it does not
      create a new Block Formatting Context, ensuring the `z-index` take
      effect.

Fix PCLAS-1506
nicoe added a commit that referenced this pull request Mar 13, 2025
This one is a complicated beast:

    - having defined an `overflow-x: auto` in CSS on modal-body make it
      a new Block Formatting Context
    - Block Formatting Context contains their floating elements
    - This is why although the ul menu is in the same stacking context
      than the modal footer, the menu does not appear above it.
    - Thus setting the `overflow` property will also reset the
      `overflow-x` property and since the value is `visible` it does not
      create a new Block Formatting Context, ensuring the `z-index` take
      effect.

Fix PCLAS-1506
nicoe added a commit to nicoe/tryton-coopengo-new that referenced this pull request Jun 16, 2025
This one is a complicated beast:

    - having defined an `overflow-x: auto` in CSS on modal-body make it
      a new Block Formatting Context
    - Block Formatting Context contains their floating elements
    - This is why although the ul menu is in the same stacking context
      than the modal footer, the menu does not appear above it.
    - Thus setting the `overflow` property will also reset the
      `overflow-x` property and since the value is `visible` it does not
      create a new Block Formatting Context, ensuring the `z-index` take
      effect.

Fix PCLAS-1506
Fix PCLAS-1169
nicoe added a commit to nicoe/tryton-coopengo-new that referenced this pull request Jun 19, 2025
This one is a complicated beast:

    - having defined an `overflow-x: auto` in CSS on modal-body make it
      a new Block Formatting Context
    - Block Formatting Context contains their floating elements
    - This is why although the ul menu is in the same stacking context
      than the modal footer, the menu does not appear above it.
    - Thus setting the `overflow` property will also reset the
      `overflow-x` property and since the value is `visible` it does not
      create a new Block Formatting Context, ensuring the `z-index` take
      effect.

Fix PCLAS-1506
Fix PCLAS-1169
nicoe added a commit to nicoe/tryton-coopengo-new that referenced this pull request Sep 11, 2025
This one is a complicated beast:

    - having defined an `overflow-x: auto` in CSS on modal-body make it
      a new Block Formatting Context
    - Block Formatting Context contains their floating elements
    - This is why although the ul menu is in the same stacking context
      than the modal footer, the menu does not appear above it.
    - Thus setting the `overflow` property will also reset the
      `overflow-x` property and since the value is `visible` it does not
      create a new Block Formatting Context, ensuring the `z-index` take
      effect.

Fix PCLAS-1506
Fix PCLAS-1169
JCavallo pushed a commit to nicoe/tryton-coopengo-new that referenced this pull request Sep 12, 2025
This one is a complicated beast:

    - having defined an `overflow-x: auto` in CSS on modal-body make it
      a new Block Formatting Context
    - Block Formatting Context contains their floating elements
    - This is why although the ul menu is in the same stacking context
      than the modal footer, the menu does not appear above it.
    - Thus setting the `overflow` property will also reset the
      `overflow-x` property and since the value is `visible` it does not
      create a new Block Formatting Context, ensuring the `z-index` take
      effect.

Fix PCLAS-1506
Fix PCLAS-1169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants