-
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Describe the bug
When implementing a bottom pane in Angular, I ran across the issue where the content of a pane would initially be displayed inside the pane, but would appear outside of the pane after making changes to my code.
To Reproduce
Steps to reproduce the behavior:
- Create a new Angular project and install 'cupertino-pane' version 1.5.4
- Create a component for the bottom pane (e.g. app-bottom-pane) and implement it in the main app component.
- Use ngAfterViewInit inside bottom pane component to create a new CupertinoPlane after view initialisation
- Observe how the content appears inside the bottom pane
- Make a change to the code. The page refreshes and the content now appears outside of the pane.
Expected behavior
The designated content appears inside the pane.
Desktop (please complete the following information):
- OS: Windows 11
- Browser: Chrome
- Version: 140.0.7339.128 (Official Build) (64-bit)
Additional context
I cannot seem to find any examples for Angular in the official documentation. It might be the case that I implemented something incorrectly, but I cannot verity that. An official example as part of the documentation would help.
Metadata
Metadata
Assignees
Labels
No labels