-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Conversation
T4rk1n
commented
Mar 4, 2024
- Fix [BUG] Weird component redraw issue in dash 2.16 #2775, additional redraws.
- Fix [BUG] dash_mantine_components can't be found in dash 2.16.0 #2778, dynamic loading and pages.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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.
Can be closed but I'll add the redraw test later. |