Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Timing-Problem with theme.js #11

@michaelLoeffelmann

Description

@michaelLoeffelmann

Hi,

i think there is a bug with this line below:

https://github.com/pagekit/theme-one/blob/master/js/theme.js#L23

When i create an extension with low content that will not fill the whole page, the footer is not on the bottom of the page. With a content-page (no extension) with low content, it works fine.
When i replace the line of code with that:

UIkit.$win.on('load resize', function(){ setTimeout(fn(),10); });

It works fine.. So i think it's an timing-issue in combination with extensions.
What can i do to prevent this behavior?

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