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
Scenario & expected behavior:
We are adding button to toolbar (Refer code below) to show in Gmail custom label page and it was working without any issue until recently. Refer below API method,
Code to add button to toolbar:
gmail.tools.add_toolbar_button("Click Me (GmailJS)", (data) => {
console.log("Toolbar button clicked.");
});
Issue:
Button added to toolbar in Gmail custom label will show up for few seconds and gets hidden and I observed that “disply:none” attribute is set (to hide button).
But earlier buttons added to toolbar was not getting hidden & was visible always.
Add code below to add new button to toolbar as stated below,
gmail.tools.add_toolbar_button("Click Me!", (data) => {
console.log("Click Me button is clicked.");
});
Install extension.
Reload Gmail page & navigate to existing Gmail custom label.
Observe that button named “Click Me!” is shows up in the toolbar.
After few seconds (or sometimes a minute) button “Click Me!” will gets hidden.
Behind scene Gmail application makes the button hide by adding the property style=”display:none” to button element as below.
Click Me (GmailJS)
Need Clarification:
Does anyone observed / facing this issue.
Could you please let me know if anyone had tried any solution for the same.
Please share your comments.
Thanks in Advance,
Shashikiran
The text was updated successfully, but these errors were encountered:
Hi GmailJS Team,
Scenario & expected behavior:
We are adding button to toolbar (Refer code below) to show in Gmail custom label page and it was working without any issue until recently. Refer below API method,
Code to add button to toolbar:
gmail.tools.add_toolbar_button("Click Me (GmailJS)", (data) => {
console.log("Toolbar button clicked.");
});
Issue:
Button added to toolbar in Gmail custom label will show up for few seconds and gets hidden and I observed that “disply:none” attribute is set (to hide button).
But earlier buttons added to toolbar was not getting hidden & was visible always.
Steps to reproduce the issue:
gmail.tools.add_toolbar_button("Click Me!", (data) => {
console.log("Click Me button is clicked.");
});
Need Clarification:
Please share your comments.
Thanks in Advance,
Shashikiran
The text was updated successfully, but these errors were encountered: