• When using a mobile device to view the account page privacy tab, (or any form that has tooltips), the tooltips are outputted as text within the field label, and the ‘?’ helper icon is removed. When viewing the same content on a browser, resized to mobile view, the helpers work as intended. I found this within class-fields.php.

    $output .= '<label' . $for_attr . '>' . __( $label, 'ultimate-member' ) . '</label>';
    
    			if ( ! empty( $data['help'] ) && $this->viewing == false && ! strstr( $key, 'confirm_user_pass' ) ) {
    
    				if ( ! UM()->mobile()->isMobile() ) {
    
    					if ( ! isset( $this->disable_tooltips ) ) {
    
    						$output .= '<span class="um-tip um-tip-' . ( is_rtl() ? 'e' : 'w' ) . '" title="' . esc_attr__( $data['help'], 'ultimate-member' ) . '"><i class="um-icon-help-circled"></i></span>';
    
    					}
    
    				}
    
    				if ( UM()->mobile()->isMobile() || isset( $this->disable_tooltips ) ) {
    
    					$output .= '<span class="um-tip-text">' . __( $data['help'], 'ultimate-member' ) . '</span>';
    
    				}
    
    			}
    
    			$output .= '<div class="um-clear"></div></div>';
    
    			return $output;

    Oddly, the only helper icons/tooltips that work are the ‘erase’, and ‘download’ data helpers.

    What is causing the tooltips to be rendered as text on an actual mobile device?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Some tooltips disabled for mobile – why?’ is closed to new replies.