1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Select Quoting

Discussion in 'Resolved Bug Reports' started by Daniel Hood, Jul 31, 2014.

  1. Daniel Hood

    Daniel Hood Well-Known Member

    Highlighting text within the [ code ] and [ php ] tags results in the tooltip being in a weird location.


    $test 123;

    Disregard. It's working fine here, it messed up when I quoted the query in this thread though: http://xenforo.com/community/threads/php-mysql-search-replace-problem.79652/

    Sorry. Must have been a fluke.

    Figured it out. It's if there's more than one line, and you have to scroll horizontally to see the rest. If you highlight the line of code and then move your mouse down a line before releasing it pops up.

    Attached Files:

    Last edited: Jul 31, 2014
  2. Amaury

    Amaury Well-Known Member

    Looks fine to me. What does it look like for you?

  3. Daniel Hood

    Daniel Hood Well-Known Member

    I've edited my post.
    Amaury likes this.
  4. Moshe1010

    Moshe1010 Well-Known Member

    Version 36.0.1985.125 OSX

  5. Amaury

    Amaury Well-Known Member

    I suspect the ability to highlight and quote specific text within [CODE][/CODE], [PHP][/PHP], and [HTML][/HTML] might be disabled like it was for quotes.
  6. Daniel Hood

    Daniel Hood Well-Known Member

    Disabling it in quotes was different. It was attributing the content to the wrong author. I hope disabling quoting these tags isn't the solution.
    Amaury likes this.
  7. Amaury

    Amaury Well-Known Member

    You mean if I quoted you, it would say something like, "Kier said"?
  8. EQnoble

    EQnoble Well-Known Member

    It appears that the tooltip is bound to the end or the beginning of the text and with that, if you are selecting text within a scrollable element which has some of it's text hidden by the scroll bar location the same still applies and in some cases displays the tooltip in the imaginary spot where the text would have ended if not hidden by the scroll bar, to see what I mean...reproduce the steps and then use the scroll bar and you will see the tooltip move on click release.

    If possible a solution might be that in scenarios where one is capture a slice which is completely located within a code box or whatever box with a scroller, to visually bind the tooltip to the bottom of the box (parent element like the code box), aligned left or right and selecting that alignment based on location of click release.
    Last edited: Jul 31, 2014
  9. Chris D

    Chris D XenForo Developer Staff Member

    They have fixed it now, but if you take your post as an example where you have quoted Daniel. If I were to have selected a block of text within that quote by Daniel and I clicked "Reply" then it would look like I was quoting you.

    So the solution was to completely ignore text inside quotes.
    Amaury and Daniel Hood like this.
  10. Mike

    Mike XenForo Developer Staff Member

    This is fixed now. It detects selections in scrollable elements and adjusts the positioning if necessary.

    I'm still looking at a few other changes as well so this may take a little while to roll out.
    Eagle, Karelke, Amaury and 1 other person like this.

Share This Page