core icon indicating copy to clipboard operation
core copied to clipboard

Using Scroller on Host field disables selecting subfolders

Open DeanGonzalez opened this issue 13 years ago • 12 comments

Tested on latest master-2.3

1) To reproduce, first create 10 parent folders (this will be enough to need scrolling) 2) Now add a few child folders inside one of the bottom folders on your website browser tree 3) Add a new structure with a text and host field 4) Try to add new content using the new structure and on the host field, First open the demo host and SCROLL DOWN to the botttom folder where you added subfolder Try to expand the parent folder- bug is that instead of expanding the parent folder to show child folders, you bounce back to the top of the host field tree and the parent folder does not expand to show children

http://screencast.com/t/MbCPRnve

DeanGonzalez avatar Apr 19 '13 16:04 DeanGonzalez

I am able to reproduce in my local environment, with the latest code for dotCMS 2.3 // SQL Server

bryanboza avatar Apr 19 '13 17:04 bryanboza

I could reproduce the error even using a dijit tree example taken from the dojo page,so the bug does not seem to be in our code, it is something that happens when placing a dijit tree inside a div with scroll, http://screencast.com/t/ADc2hlcgZl

dsilvam avatar Apr 22 '13 06:04 dsilvam

Hi guys, did you recently upgraded the dojo libraries? I'm asking you because until 1/2 months ago this problem there wasn't

graz1an0 avatar Apr 22 '13 11:04 graz1an0

not recently no. Months ago only

The issue I think is depth and length of folders. maybe you have more then you use to

Thanks, Jason S. Tesser Director, Support Services dotCMS, Inc. T: 305.858.1422 x7003 http://twitter.com/dotCMS www.dotcms.com

On Mon, Apr 22, 2013 at 7:59 AM, Graziano Aliberti <[email protected]

wrote:

Hi guys, did you recently upgraded the dojo libraries? I'm asking you because until 1/2 months ago this problem there wasn't

— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/2703#issuecomment-16780788 .

dotcmsCodeReview avatar Apr 22 '13 12:04 dotcmsCodeReview

The number of folders that we have is always the same. I can't delete folders :)

graz1an0 avatar Apr 22 '13 12:04 graz1an0

@bryanboza I found that when clicking on the scroll bar to do the scroll, the issue happens, but when using the mouse wheel or mousepad to scroll, it does not, could you check that? thanks

dsilvam avatar Apr 24 '13 15:04 dsilvam

@dsilvam Yes this issue happens only when you use the scroll bar, if you use the mouse wheel won't reproduce

bryanboza avatar Apr 24 '13 16:04 bryanboza

I think it has to be with focus beign lost when using the scroll. something is beign restarted as the entire widgets closes when you click elsewhere. looks like the scroll creates a state in the middle

dotjorgeu avatar Apr 24 '13 16:04 dotjorgeu

Fixed... Tested on the latest master 2.3 / mySQL, now the scroller works fine

bryanboza avatar Apr 25 '13 15:04 bryanboza

You guys, I see that this was merged and QA'd for 2.3 but I'm demonstrating this issue exactly in a 2.5.4 install. What's protocol for a fix on this one?

fusion27 avatar Feb 05 '15 14:02 fusion27

has to do with when you click in certain browsers. I think it works better in the newer versions.

jtesser avatar Feb 05 '15 14:02 jtesser

Hi Jason,

  • I was able to reproduce in Chrome on the 2.5.7 demo2 server: screencast
  • FireFox works
  • Safari fails too on the demo2 server: screencast

Is this enough to request a hotfix?

fusion27 avatar Feb 05 '15 15:02 fusion27