Apple Pencil dotted line.
Whenever I put my palm on the screen to write, the line I drew would disconnect from time to time. It wouldn’t happen when i raised my palm. Turning off the zoom function, tightening the pencil tip, rebooting the iPad or restarting the app doesn’t help. When I realized my iPad was charging during the whole time. Unplugging the lightening cable fixed the problem... Then I charged my iPad with another lightening cable. The line didn’t break when I rest my palm on the screen... It seems like multiple factors may contribute to the same phenomenon. Hope this could help someone.
iPad Pro 10.5-inch, Wi-Fi, iOS 12.0.1, null