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

Fixed Media Tools Error On Touch Devices/Touch Enabled Browsers

Discussion in 'Media Gallery Resolved Bugs' started by Divvens, Jul 1, 2015.

Tags:
  1. Divvens

    Divvens Well-Known Member

    On touch devices (such as smartphones) and on touch enabled browser (Chrome for example - using a touchscreen), the option to "tag members in media" does not show. However, there is still an empty drown-down displayed, while it should be hidden in such a case. This caused me to think it was an error and the trailing discussion can be found here.

    Steps To Reproduce:
    1. Visit any media item on a touch device (we used android devices with Chrome as our browser) or touch enabled browser (on XenForo Media Section)
    2. The "Media Tools" option appears, however on click it shows nothing inside it (screenshot).

    The media options should be hidden in such a case (especially on OTHERS media where you don't have permission to do anything else than tag).
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    The user tagging system doesn't support touch devices, so we hide that button if we detect a touch device.

    That detection is client side, so by then it's potentially too late to hide the menu (unless we write additional client side code to do so).

    I'm tempted to solve it by putting something in the Media Tools menu that is always visible (so we never have a blank menu) or moving that out of the menu so this doesn't crop up.
     
    Divvens likes this.
  3. Chris D

    Chris D XenForo Developer Staff Member

    Thanks. We've fixed this - we now display the items in the menu regardless but display an error if you try to use them on a touch device.
     
    Divvens likes this.

Share This Page