Closed Bug 828826 Opened 13 years ago Closed 13 years ago

Element resize event won't fire when scroll the element to the right end

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

17 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hsumini, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0 Build ID: 20121128204232 Steps to reproduce: creating a custom scrollbar for both horizontal and vertical. Actual results: when scroll to most right end side, the resize event won't fire. This only happen in Firefox. Tested version 17.0.1 Example link: http://aoron.com/gorilla/custom_scrollbar/custom-scrollbar.html Expected results: Fire resize event.
WFM, each column is resized after clicking on one of them and scrolling to the right. Could you test with a fresh profile, please? https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles It would be good if you could test with Firefox 18 which has been released a few days ago.
Flags: needinfo?(hsumini)
I see no Differences in Behavior amongst Firefox 17, 21 and Chrome 26. Can you provide a reduced Testcase without (using) external JS Libraries?
Keywords: testcase-wanted
Tested with a new profile and with Firefox 18 also 17.0.1 The result are same. (In reply to Loic from comment #1) > WFM, each column is resized after clicking on one of them and scrolling to > the right. > > Could you test with a fresh profile, please? > https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove- > firefox-profiles > > It would be good if you could test with Firefox 18 which has been released a > few days ago.
Flags: needinfo?(hsumini)
After XtC4UaLL's request to remove the external JS library, I looked deeper into the JS and found out that the real issue is the overflow element's width won't change when scrolled to the most right end side. Please see example here:(at the bottom) http://aoron.com/gorilla/custom_scrollbar/custom-scrollbar.html
Can you attach (https://bugzilla.mozilla.org/attachment.cgi?bugid=828826&action=enter) a reduced, self-contained Testcase to this Report. The Example in http://aoron.com/gorilla/custom_scrollbar/custom-scrollbar.html still seem to include JS Libraries.
Flags: needinfo?(hsumini)
It's my fault, It works after removing all JS Libraries. I'm sorry
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Flags: needinfo?(hsumini)
Resolution: --- → WORKSFORME
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.