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

sizeToContent fixes (animation, DOM init, cleanup) #2561

Merged
merged 1 commit into from
Dec 9, 2023

Commits on Dec 9, 2023

  1. sizeToContent fixes (animation, DOM init, cleanup)

    * fix gridstack#2552 where dom init wasn't calling sizeToContent
    
    Also:
    * fixed drag&drop not calling size either
    * prevent animation when loading (from empty) and when replacing placeholder with actual content (helps in sizeToContent)
    * resizeToContent() no longer use dic sizing (only node.h) so we rarely have to delay for animation (only when column widget changes)
    * bunch of renames (internal) to make cleaner.
    
    *** POSSIBLE BREAK (unlikely)
    * ResizeToContentFcn doesn't take optional useAttr arg anymore
    adumesny committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    d9e575b View commit details
    Browse the repository at this point in the history