Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P03, 4.1.1
-
Fix Version/s: EE-4.2.0.GA, EE-3.3.0.GA_P05
-
Component/s: ACE-Components
-
Labels:None
-
Environment:IE
-
Assignee Priority:P3
-
Support Case References:Support Case #13788 - https://icesoft.my.salesforce.com/5007000001bgRZz
Description
Currently when hovering over the input field after a file has been uploaded, there is a browser level title tooltip shown in Firefox. This tooltip is not shown in IE.
This is likely due to how the browsers render an HTML <input type="file"...> component.
This JIRA is to investigate possibilities in having IE render a similar browser level tooltip.
The main reason for this is to display the content of the input field in the tooltip, which is helpful if the file name length is longer than the width of the input field.
This behavior can be reproduced with the Showcase demo's.
This is likely due to how the browsers render an HTML <input type="file"...> component.
This JIRA is to investigate possibilities in having IE render a similar browser level tooltip.
The main reason for this is to display the content of the input field in the tooltip, which is helpful if the file name length is longer than the width of the input field.
This behavior can be reproduced with the Showcase demo's.
r51743: improvement to display a native browser tooltip when hovering over the file input field, across browsers
Added an onchange listener to the file input to add a title attribute to the parent div, displaying the name of the file. Note that this is only applicable in the single mode, since in the multiple mode all file input elements are hidden plus the file names are displayed in the table below. This is also not applicable if autoUpload="true", because it's just not necessary.