bug: Container.removeChild does not work with strings #108
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
When trying to use the function removeChild with an ID of an element this gives an error
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The specified children of the container gets removed.
Probable cause
The problems seems to be that when passing a string it tries to call the method getName() which is a method of basalt Object's (2nd screenshot)
Screenshots
Checklist
[x] I am running the latest version.
Also when passing the object it does work
In a related note Flexbox seems to not work at all either way
Using the object it doesn't crash but it is unable to find the child
Hey, i think it is fixed now. I didn't try the flexbox. Thank you for the report!
Downloaded the source and tried all the examples and they all worked without problems. Thanks!