Skip to content

Issue with assetManagementCollectionView when calculating this.pageSize #330

@joe-allen-89

Description

@joe-allen-89

What happened?

Two issues,

  • Because $item isn't in the dom outerWidth and outerHeight return 0, meaning this.pageSize is set to Infinty which isn't a limit mongo will accept, this results in only returning the first 100 items
  • before items are added containerHeight height isn't 100% of the screen height, propose changing this to window height to avoid issues on initial load

Expected behaviour

No response

Steps to reproduce

n/a

Authoring tool version

latest

Framework version

No response

What browsers are you seeing the problem on?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Merged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions