Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rxVirtualView - Both placeholder and viewContent not visible initially #1869

Copy link
Copy link

Description

@shyamal890
Issue body actions

Description

Here's the relevant code for

<div class="st-table-cell-virtual-wrap"
                    [class.st-sticky]="$index == 0"
                    rxVirtualView
                    [useContainment]="false">
                    <st-task-row-cell
                        *rxVirtualViewContent
                        class="st-table-cell-wrap"
                        [class.st-sticky]="$index == 0"
                        [cell_index]="$index"
                        >
                    </st-task-row-cell>
                    <div *rxVirtualViewPlaceholder
                        class="st-table-cell st-table-cell-{{ $index }} d-flex align-items-center" 
                        [style.width.px]="column.width"></div>
                </div>

Initially when the table is rendered both *rxVirtualViewContent as well as *rxVirtualViewPlaceholder are not rendered. Here's the screenshot:

Image

Additional info, I am rendering the list through *rxFor

Environment

@rx-angular/template": "^19.2.1

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.