Webview cuts off long urls incorrectly

In my case WebView has no issues wrapping sentences which have spaces in them, but issue occurs when long url is present.

I have added a screenshot below (blacked out some parts for privacy). If you look at the url part – that is the issue. The url here should be https://somethingsomething.care/business-policy. Word “business-” is chopped off and is not visible.

How can this be fixed?

enter image description here


You need to set horizontal scroll to WebView.
And webpage should be responsive to fit in mobile width.

Source: stackoverflow
The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .