The Popup component by default contains an icon that (when clicked) docks the popup on the corner of the view component. This sample demonstrates how to remove the docking button and change the docking options that can be configured with the dockOptions property.
viewElement.popupElement.dockEnabled = true; viewElement.popupElement.hideCloseButton = true; viewElement.popupElement.hideActionBar = true; viewElement.popupElement.dockOptions = { // Removes the dock button from the popup buttonEnabled: false, // Ignore the default sizes that trigger responsive docking breakpoint: false, };The map displays educational attainment data for tracts in the southern California area with popups pre-configured in the web map on ArcGIS Online.