DropdownView.setPlacementOptions() was called on a manually-positioned DropdownView.

45 views
Skip to first unread message

‌Ivan‌ Hil‌

unread,
Sep 21, 2022, 5:22:11 AM9/21/22
to InboxSDK
Right now trying to fix dropdown positioning issue for appToolbarButton functionality.
The issue is that in usual gmail account there is no space to the right on app button to show dropdown.
some

this.sdk.Toolbars.addToolbarButtonForApp({
title: '',
iconUrl: chrome.runtime.getURL('images/test.png'),
onClick: async (e) => {
e.dropdown.setPlacementOptions({ position: 'top', forcePosition: true });
mountDropDownElement(e.dropdown.el);
},


Screenshot 2022-09-21 at 11.19.31.png
Reply all
Reply to author
Forward
0 new messages