Skip to content

[ObjectPage]: Multiple unnecessary photo request calls are made #8093

@Brahmansh

Description

@Brahmansh

Describe the bug

Unnecessary photo request calls are made every time we click on Collapse header button or scrolldown when header is collapsed.

Isolated Example

No response

Reproduction steps

  1. Go to https://ui5.github.io/webcomponents-react/v2/?path=/story/layouts-floorplans-objectpage--default
  2. Open devtools, Collapse header and observe GET request call made for photo.
  3. Now expand header and collapse again, observe photo request call made again
  4. Or scrolldown when header collapses, observe photo request call made again

Expected Behaviour

Multiple GET calls for photo request shouldn't be made every time header collapses.

Screenshots or Videos

No response

UI5 Web Components for React Version

2.18.0

UI5 Web Components Version

2.18

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions