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

Fixes for dynamic loading. #2780

Closed
wants to merge 2 commits into from
Closed

Fixes for dynamic loading. #2780

wants to merge 2 commits into from

Conversation

T4rk1n
Copy link
Contributor

@T4rk1n T4rk1n commented Mar 4, 2024

@AnnMarieW
Copy link
Collaborator

AnnMarieW commented Mar 4, 2024

FYI - I tried this fix with the example in #2781, but it didn't works, so it's probably a different issue.

@@ -15,16 +14,6 @@ type LibraryComponentProps = {

const LibraryComponent = (props: LibraryComponentProps) => {
const {props_check, namespace, type, ...rest} = props;

const context = useContext(LibrariesContext);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I guess this was left over from a previous iteration but not needed the way you finally implemented the feature?

};
crawlLayout(layout, addLib);
if (validation_layout) {
crawlLayout(validation_layout, addLib);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this defeat the purpose though? The difference between validation_layout and layout is just items that we're not going to show on the initial view.

@ndrezn
Copy link
Member

ndrezn commented Mar 6, 2024

@T4rk1n do you still want to review this or should this PR be closed after #2783 is merged?

@T4rk1n
Copy link
Contributor Author

T4rk1n commented Mar 6, 2024

Can be closed but I'll add the redraw test later.

@T4rk1n T4rk1n closed this Mar 7, 2024
@T4rk1n T4rk1n deleted the fix/dynamic-redraw branch March 7, 2024 15:02
@T4rk1n T4rk1n mentioned this pull request Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] dash_mantine_components can't be found in dash 2.16.0 [BUG] Weird component redraw issue in dash 2.16
4 participants