feat(plugin-basic-ui): add interface to access z-index about AppScreen #514
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
AppScreen 및 관련 요소들은 z-index를 사용해 스택형 UI를 구현하고 있습니다.
현재 인터페이스에서는 Popover와 같은 floating 요소를 제어할 때 "AppScreen보다 높아야 하지만, AppBar에는 가려져야 한다." 와 같은 요구사항을 해결하기 어려운 문제가 있습니다.
따라서,
useAppScreen()
에zIndices
정보를 추가해 하위 컴포넌트에서zIndex: zIndices.appBar - 1
과 같이 사용할 수 있도록 합니다.