The book of Judges

In the book of Judges, Israelites are still fighting Canaanites. At the end of the previous book, Joshua, it seems they have conquered all the Canaanites. How does the textbook explain this part.