ufb / Textmarker

Firefox extension
Mozilla Public License 2.0
212 stars 29 forks source link

[bug] Can't resize notes #150

Open neumannjan opened 3 years ago

neumannjan commented 3 years ago

Describe the bug There is no way to resize a note. No visual buttons

Expected behavior Probably an icon in bottom right corner of a note to resize it like in screenshots in #62 :

a note with resize button a note with resize button

Screenshots A note without resize button a note without resize button

Which OS, Firefox edition, Textmarker version These infos could be helpful in order to reproduce the buggy behavior OS (i.e. Linux, MacOS, Win7, Win10, Android ...): Linux (on Wayland) FF edition (i.e. Regular, Nightly, ESR, ...): Firefox 84.0.1 (Regular) Textmarker version (i.e. 5.1.2): 5.3.1

ufb commented 3 years ago

@neumannjan Which browser, which OS? Sticky notes should be resizable by dragging the bottom right corner (with left mouse button held down):

note-resize

The HTML element which contains the text is a <textarea> and its visual appearance can differ in different browsers (above screenshot is from Firefox 84, regular edition, on a Win7

neumannjan commented 3 years ago

I mentioned I'm on Linux in Firefox 84.

I just noticed that if I try it on here (on github) it actually works and the resize handle is shown. However, if I try it on this website (which is originally where I tried it), the handle is not shown. Incidentally, the linked website (the one with the issue) is the same one that exhibits another issue posted by me: #151

I guess it's a "badly compatible" website , as Textmarker exhibits two different bugs on that site.

ufb commented 3 years ago

Spotted the issue now, this website set resize: none for textarea elements:

resize-none

In a future version I'll override this property for textmarker notes.

Thanks a lot for this bug report!