The invention relates to an electronic device 60 comprising a flexible display arranged to be alternated between a collapsed state and an extended state, said flexible display comprising edge portions, the flexible display being further provided with an edge protector cooperating with the edge portions, wherein the edge protector is conceived to be alternated between a collapsed state and an extended state. In the electronic device 60a the flexible display 65 is conceived to be wound about a roller 61. The edge protector comprises rigid segments 63a, 63b, 63c, 62a, 62b, 62c, 62c interconnected by suitable means 64a, 64b, 64c. Wiring, pins, bars may be used for interconnecting means 64a, 64b, 64c. In the embodiment 60a an extended position of the edge protector is shown. In the embodiment 60b a collapsed state of the edge protector is shown comprising aggregations of segments 62′, 62″. The bars 64a, 64b, 64c partly protect the back surface of the display. The invention further relates to the electronic device comprising a flexible display wherein the flexible display is provided with an edge protector attached at least partially to the edge portions of the flexible display.