* SUMMARY Inline errors on neighboring lines may collide if expandable. * TEST <script> console.error("really really long error message that will need to be expanded"); console.warn("warning will collide"); </script> * STEPS TO REPRODUCE 1. Inspect test case. 2. Jump to error 3. Click to expand truncated error message => overlap between the expanded error hanging under line 1 and the warning on line 2
<rdar://problem/20149912>
I knew about this issue, but I don't consider it that important to fix yet. I don't think it is a common case to have errors on adjacent lines. I also don't think it will be common to need to expand errors (truncation, or multiple errors on a line). I think until this is actually seen in real content, or if it becomes an issue with more frequent inline warnings (lint messages) it is low priority. I don't know what the ideal behavior would be here anyways. - We could just switch to a pop-over, but I don't think that is as nice. - We could check for overlaps and also expand the other inline error/warning, etc.
Created attachment 248574 [details] [IMAGE] Issue - Overlapping Errors/Warnings