Skip to content

Conversation

@nle-odoo
Copy link
Contributor

Scenario: go to homepage > Courses > one "View all" > type in search

Result: dropdown with result is shown over the search input

Issue: search form is in flex layout, but the dropdown is displayed
in absolute so it is outside of flex flow and is positionned at the
top-right of the form container.

History:

  • before bootstrap 4 (odoo 15): the search form had a flex layout, but
    bootstrap dropdown used "top:100%" so were positionned at the bottom
    of it.

  • as of bootstrap 5 (odoo 16): the form kept a flex layout, but
    bootstrap dropdown now used "position: absolute" with unset top
    putting them below the search item in a block container, but over
    it in a flex layout.

Fix: when the search bar is displayed, display it as block.

opw-4735257

@robodoo
Copy link
Contributor

robodoo commented Apr 22, 2025

Pull request status dashboard

@C3POdoo C3POdoo requested a review from a team April 22, 2025 16:50
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Apr 22, 2025
Scenario: go to homepage > Courses > one "View all" > type in search

Result: dropdown with result is shown over the search input

Issue: search form is in flex layout, but the dropdown is displayed
in absolute so it is outside of flex flow and is positionned at the
top-right of the form container.

History:

- before bootstrap 4 (odoo 15): the search form had a flex layout, but
  bootstrap dropdown used "top:100%" so were positionned at the bottom
  of it.

- as of bootstrap 5 (odoo 16): the form kept a flex layout, but
  bootstrap dropdown now used "position: absolute" with unset top
  putting them below the search item in a block container, but over
  it in a flex layout.

Fix: when the search bar is displayed, display it as block.

opw-4735257
@nle-odoo nle-odoo force-pushed the 16.0-website-slides-opw-4735257-nle branch from c798362 to 056b773 Compare November 12, 2025 13:14
@nle-odoo nle-odoo changed the base branch from 16.0 to 17.0 November 12, 2025 13:14
@nle-odoo
Copy link
Contributor Author

@odoo/rd-sm-learn what do you think about this?

I have updated the target from 16.0 to 17.0 since 16.0 is unsupported

The issue also doesn't happen since 19.0 since this has been refactored (eg. /slides/all?my=1 is now /slides?my=1 the same page but with the "my filter"):

robodoo up to saas-18.4

@robodoo
Copy link
Contributor

robodoo commented Nov 12, 2025

Forward-porting to 'saas-18.4'.

@nle-odoo
Copy link
Contributor Author

@flch-odoo what do you think about this? thanks

Copy link
Contributor

@flch-odoo flch-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

robodoo pushed a commit that referenced this pull request Nov 26, 2025
Scenario: go to homepage > Courses > one "View all" > type in search

Result: dropdown with result is shown over the search input

Issue: search form is in flex layout, but the dropdown is displayed
in absolute so it is outside of flex flow and is positionned at the
top-right of the form container.

History:

- before bootstrap 4 (odoo 15): the search form had a flex layout, but
  bootstrap dropdown used "top:100%" so were positionned at the bottom
  of it.

- as of bootstrap 5 (odoo 16): the form kept a flex layout, but
  bootstrap dropdown now used "position: absolute" with unset top
  putting them below the search item in a block container, but over
  it in a flex layout.

Fix: when the search bar is displayed, display it as block.

opw-4735257

closes #206909

Signed-off-by: Florian Charlier (flch) <flch@odoo.com>
@robodoo robodoo closed this Nov 26, 2025
khsr-odoo pushed a commit to odoo-dev/odoo that referenced this pull request Nov 27, 2025
Scenario: go to homepage > Courses > one "View all" > type in search

Result: dropdown with result is shown over the search input

Issue: search form is in flex layout, but the dropdown is displayed
in absolute so it is outside of flex flow and is positionned at the
top-right of the form container.

History:

- before bootstrap 4 (odoo 15): the search form had a flex layout, but
  bootstrap dropdown used "top:100%" so were positionned at the bottom
  of it.

- as of bootstrap 5 (odoo 16): the form kept a flex layout, but
  bootstrap dropdown now used "position: absolute" with unset top
  putting them below the search item in a block container, but over
  it in a flex layout.

Fix: when the search bar is displayed, display it as block.

opw-4735257

closes odoo#206909

Signed-off-by: Florian Charlier (flch) <flch@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OE the report is linked to a support ticket (opw-...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants