Custom Icons Issues

This topic is: resolved

This topic contains 3 replies, has 1 voice, and was last updated by  Matthias 8 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5772

    Matthias
    Participant
    Post count: 17

    It seems that I’m not the only one having issues with the custom icons page. In Chrome, various extensions crash due to JS exceptions right after loading this page (e.g., Awesome Screenshots). Thereby, the loading tab crashes and the page is not shown. However, this only happens with a installed icon pack and Cloudflare Rocketloader. I’ve never seen such a behaviour till now.

    If I load the page in the incognito mode (i.e., without extensions) and disable Rocketloader, there are no JS errors in the console. I suspect that there are parsing or compiling issues due to HTML, CSS, or JS bugs because the PHP executes completely. For instance, the W3C validator found 23 errors in the HTML code.

    I noticed that after enabling Rocketloader the page shows for a short moment and then turns blank. The HTML code of the blank page consists of just a single Cloudflare script tag. That bears the suspicion on a DOM (i.e., JS <-> HTML) related issue.

    Moreover, in contrast to the default icon set page, the preview and shortcode of the custom icon page doesn’t work at all (without JS errors, but the icon tag is shown). That seems to be CSS related. I’m going to write a separate comment about this issue.

    #5773

    Matthias
    Participant
    Post count: 17
    This reply has been marked as private.
    #5779

    Matthias
    Participant
    Post count: 17

    I resolved the issue with the custom icons not showing. In the IcoMoon download settings, don’t use the i selector but use attribute selectors. Then it works.

    #5780

    Matthias
    Participant
    Post count: 17

    A workaround for the Cloudflare issue is to create a page rule to disable Rocketloader on “*domain.com/wp-*”.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.