You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firefox seemed to be the only browser that would remove the content for title elements that were wrapped in H2.
To fix the issue we just altered the offset and then the problem was fixed. Its a quick hack but maybe someone else experiencing the problem can benefit from the work around.
// Iterate until wrapper element height is less than or equal to the original container element// height plus possible wrapperOffset.-while(wrapperElement.innerHeight()>containerElementHeight+wrapperOffset){+while(wrapperElement.innerHeight()>containerElementHeight+(wrapperOffset+1)){// Apply ellipsis on last text node, by removing one word.ellipsisApplied=ellipsisOnLastTextNode(selectedElement);
The text was updated successfully, but these errors were encountered:
Firefox seemed to be the only browser that would remove the content for title elements that were wrapped in H2.
To fix the issue we just altered the offset and then the problem was fixed. Its a quick hack but maybe someone else experiencing the problem can benefit from the work around.
The text was updated successfully, but these errors were encountered: