Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Titles become selectable in form when titleOrientation = "top"

    Hi, normally the titles in a form are not selectable but, when titleOrientation is set to "top", they become selectable (see attachment from showcase).
    The (little) problem is in version 13 and 12.

    Best regards

    Claudio

    Click image for larger version

Name:	form.jpg
Views:	167
Size:	19.7 KB
ID:	269680

    #2
    hi claudio

    We're not seeing this effect in any version, browser or skin - we tested by just adding titleOrientation: "top" to the form in the id=matchValue sample in the showcase, and then dragging with the mouse. If we select all with CTRL-A, FormItem-titles are indeed selected, but this is true irrespective of titleOrientation.

    Are we perhaps missing something to reproduce the issue? What OS/browsers do you see this in?

    thanks

    Isomorphic Support

    Comment


      #3
      Hi, I tested with Chrome 110.0.5481.178, on Windows 10 Pro build 19045.2604, URL: https://smartclient.com/smartclient-...izeIncrease=10

      The problem does not seem related to a specific theme or density and occurs when I start dragging with the mouse pointer horizzontally from the right (or left) of the title.

      With firefox 110.0 the problem does not occur.

      Click image for larger version

Name:	form1.jpg
Views:	173
Size:	16.1 KB
ID:	269687

      Best regards

      Claudio

      Comment


        #4
        Hi,
        Same appears to happen on Chrome 110.0.5481.177 (Build ufficiale) (arm64) on MacOs Monterey 12.5.1 (21G83).
        I've been trying pointed showcase without setting titleOrientation either and it still happens, you just have to carefully start dragging between title and the cell itself (after the colon)
        Click image for larger version

Name:	Schermata 2023-02-25 alle 10.25.35.png
Views:	83
Size:	86.3 KB
ID:	269701

        Mozilla Firefox Developer edition (nor Standard) 111.0b5 (64 bit):
        Worth to note title selection starting from right isn't happening here either with titleOrientation and without while you can actually select titles with titleOrientation: "top" starting selection from the left (where title item begins).
        Behavior seems to be different here:
        Click image for larger version

Name:	Schermata 2023-02-25 alle 10.39.57.png
Views:	70
Size:	78.5 KB
ID:	269702

        Hope this helps,
        Denis

        Comment


          #5
          Thanks for the details, guys - we've made a change to address the issue - please retest with a build dated February 28 or later.

          Comment


            #6
            hi guys,

            We had to revert this change because it broke desirable text-selection, like static values.

            For clarity, the issue is that you can initiate a text-selection if you start your drag in visible parts of the TD that directly contains a FormItem - for a TextItem in Tahoe, eg, this is the couple of px gap either side of the text-input - for a StaticTextItem, it's the entire value element, as it is for a FormItem hint, and selection in these two elements was broken by the change we made for this thread.

            Can you confirm what (if anything) is problematic for you about the current selection behavior?

            Comment


              #7
              Hi, for me it is mainly a cosmetic problem, not a substantial one.

              Best regards

              Claudio

              Comment

              Working...
              X