-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement the modal window functionality #48
Conversation
…ositionProvider` in the `ModalWindow` file.
…plicationUI` class.
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.
@Artem-Semenov-dev please see my comments.
* The responsibility for handling the appearance, layout, and structure | ||
* of the modal window is delegated to the provided composable content block. | ||
* | ||
* @param onCancel The callback triggered when the user clicks outside the modal window. |
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.
The idea of the modal window is that no matter where user clicks outside the window borders, it stays on top. Otherwise, it's not modal.
The only way to close the window is to act explicitly. E.g. press some "Close" button.
In terms of the domain-related processes, there should be a way to confirm such a closure with the user first. Otherwise, the outcome of presumably active process (supplied on the UI by this window) is unclear.
…AppWindow` class.
# Conflicts: # dependencies.md
…gContainer` component.
This PR implements the
ModalWindow
component and extends the API of theAppWindow
class allowing the creation and management of modal dialogs within the application.