This is not true.
Even in the most cataclysmic scenarios, scientists project Sea level to rise 2m by 2100, and most of Florida is above that level.
https://climate.mit.edu/ask-mit/what-are-best-and-worst-case...
The problem with South Florida isn't that the sea level will rise enough to directly flood everything with seawater but rather with drainage of rainwater. There is already only a small gradient for rainwater to drain off into the ocean. If the ocean level rises even a little then drainage slows and flooding increases. The whole region sits on a karst substrate so dikes aren't effective; they'll need active pumping.
As a researcher in this general area I would not say 2m by 2100 is a consensus view of the worst case scenario see [1].
Here is a useful scenario for understanding what different SLR scenarios mean for the states [2]
[1] https://www.ipcc.ch/srocc/chapter/chapter-4-sea-level-rise-a...
[2] https://coast.noaa.gov/slr/
("most of the Florida peninsula will be under water in 50-100 years" is certainly not true, however, Miami would be in a very difficult spot at 2m SLR)