Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The images are not shown when using ScrollView TagHelper #7653

Closed
kendo-bot opened this issue Dec 22, 2023 · 0 comments
Closed

The images are not shown when using ScrollView TagHelper #7653

kendo-bot opened this issue Dec 22, 2023 · 0 comments
Assignees
Labels
Bug C: ScrollView FP: Completed Sync status with associated Feedback Item Regression Broken functionality which was working previously S: Wrappers (ASP.NET Core) SEV: Blocking
Milestone

Comments

@kendo-bot
Copy link
Contributor

kendo-bot commented Dec 22, 2023

Bug report

When defining the ScrollView items within the component declaration, the images are not visible.

Reproduction of the problem

Define the ScrollView TagHelper as per the example below:

<kendo-scrollview name="scrollview_TGH" content-height="100%" style="position: relative; top: 46px; height:640px; width:100vw; max-width: 100%;">
        <items>
            <scrollview-item>
                <content>
                  <div class='photo photo1'></div>
                </content>
            </scrollview-item>
            <scrollview-item>
                <content>
                  <div class='photo photo2'></div>
                </content>
            </scrollview-item>
        </items>
</kendo-scrollview>

<style>
    .photo {
        display: inline-block;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        width: inherit;
        height: inherit;
    }

    .photo1 {
        background-image: url('@Url.Content("~/images/1.jpg" )');
    }

    .photo2 {
        background-image: url('@Url.Content("~/images/2.jpg")');
    }
</style>

The items images are not visible. When the HtmlHelper version of the same configuration, the images are displayed as expected.

A REPL sample for reproduction: https://netcorerepl.telerik.com/mdPcGmuj12N3fqDI31

Possibly related to commit 04b2d4244e2fc0525e3766c56869fb1ede374ed7

Expected/desired behavior

The images must be displayed.

Environment

  • **Telerik UI for ASP.NET Core version: 2023.2.829
  • **jQuery version: 3.7.0
  • **Browser: [all]
@kendo-bot kendo-bot added the FP: Unplanned Sync status with associated Feedback Item label Dec 22, 2023
@aleksandarevangelatov aleksandarevangelatov self-assigned this Jan 8, 2024
@github-actions github-actions bot added FP: Completed Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: ScrollView FP: Completed Sync status with associated Feedback Item Regression Broken functionality which was working previously S: Wrappers (ASP.NET Core) SEV: Blocking
Projects
None yet
Development

No branches or pull requests

4 participants