Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Vlael Layug 13 posts 115 karma points c-trib
    Aug 15, 2020 @ 10:18
    Vlael Layug
    0

    List View - Creating Items Issue 7.13+

    Hello,

    After upgrading our site from 7.12 to 7.13 started to encounter this issue.

    When creating a node on a List View container, with around 30 items to choose. Items on the lower part after scrolling down seems not creatable. It's just being redirected to /umbraco/#/

    Tried it on other versions such as 7.14.1 and 7.15.4 and it's still there. I thought it was only on the project that I've upgraded. So I decided to create a new fresh installation 7.13.3

    Here's a quick gif regarding the said issue. https://bit.ly/31TezeO

    It seems that it's only being encountered when scrolling down. Since I can't replicate it if I have more larger screen.

    Here's a test with an 80% screen size. https://bit.ly/3gZkrt7

    Did some digging and it seems that the implementation has been refactored.

    7.12.5

    <a href="#/{{entityType}}/{{entityType}}/edit/{{contentId}}?doctype={{contentType.alias}}&create=true">
    

    7.13+

    <a href="" ng-click="createBlank(entityType,contentType.alias)" prevent-default>
    

    and on umbraco.controllers.js

    function createBlank(entityType, docTypeAlias) {
       $location.path('/' + entityType + '/' + entityType + '/edit/' + $scope.contentId).search('doctype=' + docTypeAlias + '&create=true');
    }
    

    Any thoughts on how can it be fixed?

  • Angus 34 posts 128 karma points
    May 20, 2021 @ 17:47
    Angus
    0

    Hi Vlael,

    I recently experienced the same issue at 7.15.6 and managed to apply a quick but usable workaround:

    In \Umbraco\Views\propertyeditors\listview\listview.html change line 44

    <ul class="dropdown-menu">
    

    to

    <ul class="dropdown-menu" style="position:fixed;left:auto;top:auto;max-height:240px;overflow-y:scroll;">
    

    Hope this helps,

    A

Please Sign in or register to post replies

Write your reply to:

Draft