Open Bug 1366319 Opened 8 years ago Updated 3 years ago

Drag and drop in sidebar is larger than the element

Categories

(WebExtensions :: Frontend, defect, P3)

54 Branch
defect

Tracking

(Not tracked)

People

(Reporter: jkt, Unassigned)

Details

(Whiteboard: [triaged])

Attachments

(1 file)

Attached image Selection_631.png
In the sidebar I am working on the element of the drag and drop always appears to be bigger than the original DOM node, seemingly by the same factor no matter how big it actually is. This doesn't apply to an element with only text nodes. See the difference between: https://addons.mozilla.org/en-GB/firefox/addon/sea-containers/ and https://addons.mozilla.org/en-US/firefox/addon/sidebar-tabs-webextension/ The only difference Sidebar tabs seems to do is only drag a text node link rather than a flex link with elements. The only way I have managed way I have managed to make mine look the same is removing elements, changing CSS and dataTransfer properties hasn't made any difference. I can only assume this is a bug, however I might be doing something different. Happy to make a cleaner replication, raising so I don't lose the issue.
need infoing shane to prioritize since SideBar issue(after monday holiday). If Shane wants to discuss with team, remove needinfo and we'll discuss at next triage.
Flags: needinfo?(mixedpuppy)
jkt: I'm wondering if this is a general webextension frame problem or is specific to the sidebar. Does this happen if the page is opened as a tab or browser/pageAction?
Flags: needinfo?(mixedpuppy) → needinfo?(jkt)
It does happen when it is loaded as it's own tab yes. I will try and reimplement my extension so the dragging can work as a normal page so I can test if it is web extension specific.
Priority: -- → P3
Whiteboard: [triaged]
Couldn't replicate this in normal HTML however could in a moz-extension URL of the sidebar.
Flags: needinfo?(jkt)
Do you have the test extension still? If so can you attach it?
Flags: needinfo?(jkt)
Product: Toolkit → WebExtensions
Flags: needinfo?(jkt)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: