You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notification bar is not appeared over the side panel when the side panel is active. Only can see after side panel is closed.
Screen.Recording.2022-12-15.at.17.09.58.mov
Expected behavior
It's required to show notification bar over the side panel.
Steps To Reproduce
You can run the following code to create the issue:
@app('/')asyncdefserve(q: Q):
ifnotq.client.initialized:
# Create an empty meta_card to hold the notification barq.page['meta'] =ui.meta_card(box='')
# Display a button to show the notification barq.page['form'] =ui.form_card(box='1 1 2 4', items=[
ui.button(name="show_side_panel", label="Show side panel")
])
q.client.initialized=True# Was the show_notification_bar button clicked?ifq.args.show_notification_bar:
# Create a notification barq.page['meta'].notification_bar=ui.notification_bar(
text='You can close me!',
name="my_bar",
# Get notified when the notification bar is dismissed.events=['dismissed'],
)
ifq.args.show_side_panel:
q.page["meta"].side_panel=ui.side_panel(
title="",
items=[ui.text("Side panel text"), ui.button(name='show_notification_bar', label='Show notification bar')],
name="side_panel",
events=["dismissed"],
closable=True,
)
# Did we get events from the notification bar?ifq.events.my_bar:
# Was the notification bar dismissed?print("events triggered")
ifq.events.my_bar.dismissed:
# Delete the notification barprint("dismissed")
q.page['meta'].notification_bar=Noneifq.events.side_panel:
ifq.events.side_panel.dismissed:
print("side panel dismissed")
q.page["meta"].side_panel=Noneawaitq.page.save()
The text was updated successfully, but these errors were encountered:
Wave SDK Version, OS
Wave SDK: 0.24.1, Wave Daemon: 0.24.1, OS: MacOs
Actual behavior
Notification bar is not appeared over the side panel when the side panel is active. Only can see after side panel is closed.
Screen.Recording.2022-12-15.at.17.09.58.mov
Expected behavior
It's required to show notification bar over the side panel.
Steps To Reproduce
You can run the following code to create the issue:
The text was updated successfully, but these errors were encountered: