mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +00:00
Fix iOS issue : unability to edit large posts
This commit is contained in:
parent
e54998128f
commit
2dae59e749
@ -99,6 +99,12 @@ ComunicWeb.components.posts.edit = {
|
||||
class: "editor-container"
|
||||
});
|
||||
|
||||
//iOS fix : use slimscroll if required
|
||||
updateDiv.style.maxHeight = (window.innerHeight - 200) + "px";
|
||||
$(updateDiv).slimscroll({
|
||||
height: "100%"
|
||||
});
|
||||
|
||||
//Create update editor
|
||||
var editorDiv = createElem2({
|
||||
appendTo: updateDiv,
|
||||
|
Loading…
Reference in New Issue
Block a user